Display the stored five movie names on the python console

Assignment Help Python Programming
Reference no: EM131562838

Topic: Python Challenge

Task I: Retrieving, Formatting and Displaying Data

You are required to write a program to:

1. Retrieve the names of the first five movies from https://www.myvue.com/whats-on then store them inside Python code (as a list or any other appropriate method).

2. Display the stored five movie names on the Python console in a format of choice.

Note: You need to design the format of the names of the first five moves which are going to be displayed on the Python console.

Task II: Calculating Ticket(s) Price

1. Extend your program to prompt user with proper informational message(s) to guide the user for the purpose of purchasing ticket(s) reflecting Table 1. The user is then expected to enter all the necessary values to purchase movie tickets.

Age

Ticket Price

Age

Ticket Price

off-peak

peak

Children (2-12)

£ 6.79

Children (2-12)

£ 10.59

Teen (13-18)

£ 7.29

Teen (13-18)

£ 10.49

Student

£ 7.79

Student

£ 10.99

Adult (19+)

£ 8.79

Adult (19+)

£ 13.19

Senior (60+)

£ 7.79

Senior (60+)

£ 10.99

Family (4 members)

£ 27.16

Family (4 members)

£ 39.96

Table 1: Ticket Prices

Note 1: If the user enters invalid value(s), the program should not terminate and a relevant error message should help the user to proceed with the process of purchasing ticket(s).

2. Once the user has entered all the necessary and valid values, you need to display a confirmation message showing the total price of purchased ticket(s) and the choices made buy user (e.g. age, peak, off-peak, etc.) during the process of purchasing ticket(s).

Note 2: You need to design the format of confirmation message on the Python console.

Reference no: EM131562838

Questions Cloud

What is sustainability auditing : What is Sustainability Auditing?
Call option on jupiter motors stock with exercise price : A call option on Jupiter Motors stock with an exercise price of $95 and one-year expiration is selling at $5
What are some possibilities for handling conflict : What are some possibilities for handling conflict within a professional environment?What can happen if conflict arises?
Computed by first converting the cash flow into dollars : What is the present value of the e17 million cash inflow computed by first converting the cash flow into dollars and then discounting it?
Display the stored five movie names on the python console : Task I: Retrieving, Formatting and Displaying Data. Display the stored five movie names on the Python console in a format of choice
Resolving conflict and dealing with difficult people : Many organizations hold such training programs at least annually with line management as a refresher in order to ensure that employee conflicts.
Contemplating replacing current fleet of delivery vehicles : Your company is contemplating replacing their current fleet of delivery vehicles with Nissan NV vans. what will the cash flows for this project be?
What new training programs and processes would you propose : What new training programs and processes would you propose to senior management to develop effective training and conflict resolutions methods.
Compute renveous corporation regular tax liability : Compute Renveous Corporation's regular tax liability on its 2016 taxable income and its personal holding company tax liability for the year.

Reviews

len1562838

7/13/2017 3:08:59 AM

Topic: Python Challenge. Detailed Question: Hi, I require a python challenge to be completed using Python 3 which is in two parts. I am NOT allowed to use 3rd party libraries for this challenge so only standard libraries can be used like urllib and regex. Firstly, I need to produce the source code in one .py file which covers tasks 1 and 2 as described in the screenshot. Task 1 is to output display the first 5 movie names from the URL in the screenshot. Task 2 is to add user interaction as described in the screenshot and show the tickets the user purchased and the table in the screenshot should be used for this. Please can you add comments in the code to describe how the code works and explain the functions that are used.

Write a Review

Python Programming Questions & Answers

  Python program that reads in a series of positive integers

Write a Python program that reads in a series of positive integers and writes out theproduct of all the integers less than 25 and the sum of all the integers greater than or equal to 25. Use 0 as a sentinel value

  Disabled individuals open jars and containers

What variables are you going to need and what will be their datatype and how would you break this problem into numerous smaller units?

  Arithmetic progression is a sequence of numbers

An arithmetic progression is a sequence of numbers in which the distance (or difference) between any two successive numbers if the same.

  Write a python program that draw as pie chart

Write a python program that draw as pie chart go n frequent lettering word.txt file. The program, will Use tkinter to build an interface to input n

  Python scripting language

Your programming project will be a simple, working program, using a Python scripting language, which utilizes a good design process and includes: Sequential, selection, and repetitive programming statements as well as and At least one function call

  Provide the code for a boolean-valued function

Provide the code for a Boolean-valued function perfect(n)that calculates and returns the Boolean value True or False according to whether the value of the parameter n is a perfect number or not, respectively

  Implement a simplified version of ssl

COMP 4337/9337 - Securing Wireless Networks - Implementation Assignment - Implement a simplified version of SSL/TLS (miniSSL) and a sim-plified application-layer protocol (miniGet) in this project.

  Implements the binary tree as a class

Implements the binary tree above as a class. Divides into tokens, generating an iterator, with added support for variable names. Evaluates a postfix expression, given an iterator, with added support for variables.

  Asign true to the variable has_dups

Asign True to the variable has_dups if the string s1 has any duplicate character (that is if any character appears more than once) and False otherwise

  Code a console-based program in python

CP1404/CP5632 2016 SP2/22/52 Shopping List 1.0 - You are to plan and then code a console-based program in Python 3, as described in the following information and sample output. This assignment will help you build skills using selection, repetition,..

  Grade that will calculate and return a student''s exam

Write a function overall Grade that will calculate and return a student's 2316 exam average. It will accept five parameters, which correspond to exam1,2,3,4 and the Final grade. It should replace the lowest exam grade with the 2nd lowest exam grade

  Fill in the python code

Fill in the Python code to play Tic Tac Toe. I won't award points unless it runs succesfully. # Tic-Tac-Toe Game def drawBoard(board): # Draws the board using the list of numbers print(" ") print(" ",board[0]," | ",board[1]," | ", board[2]) print("--..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd