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

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

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