Project - movie lovers club

Assignment Help Python Programming
Reference no: EM131464982

Project - Movie Lovers Club

The Movie Lover's Club is a club of persons that love to watch movies and keep track of how many times they have watched the movies they love.

The club president, Al Hitchcock, has hired you to create a simple, text-based program that will allow him to enter, update, and retrieve information about the movies that his club members love.

The main menu that is provided by the program will look as follows:

Welcome to the Movie Lover's Club

1. Display all members
2. Display all movie information for a member
3. Increment the times a specific movie was watched by a member
4. Add a movie for a member
5. Add a new member
Q. Quit

Please enter a selection:

For menu option 1 (Display all users), you should display all club members.

Club Members
===================
Mary Frank

For menu option 2 (Display all movie information for a member), you should prompt for the member name and display all movie information for that member. The member name must exist otherwise you should display an error message.

Please enter a selection: 2
Please enter the user's name: Frank Movies for club member: Frank

Movie                   Rating  Watched

========================================

Beauty and the

Beast

G

1

Kung Fu Panda

 

G

5

Cinderella

 

G

1

Please enter a selection: 2

Please enter the user's name: James Sorry, member not found

For menu option 3 (Increment the number of times a specific movie was watched by a member), prompt the user for the member's name and then for the movie name. Both these items must exist otherwise you should display an error message.

Please enter a selection: 3
Please enter the member's name: Mary
Please enter the name of the movie: Superman Times watched incremented

Please enter a selection: 3
Please enter the member's name: James Sorry, member not found


Please enter a selection: 3
Please enter the member's name: Frank
Please enter the name of the movie: Star Wars Sorry, movie title not found

For menu option 4 (Add a movie for a member), prompt the user for the member's name and then for the movie information. The member name must exist and the movie name must not already exist otherwise you should display an error message.

Please enter a selection: 4
Please enter the member's name: Frank Enter movie name: Star Wars
Enter times watched: 3 Enter rating: PG-13
Movie added

Please enter a selection: 4
Please enter the member's name: James Sorry, member not found

Please enter a selection: 4
Please enter the member's name: Frank Enter movie name: Cinderella

For menu option 5 (Add a new member), prompt the user for the new member's name and add the user information. The member name must not otherwise you should display an error message. Note that no movie information should be added for the new member.

Please enter a selection: 5
Enter the new member's name: Kevin

Member added

1. Display all members
2. Display all movie information for a member
3. Increment the times a specific movie was watched by a member
4. Add a movie for a member
5. Add a new member
Q. Quit

Please enter a selection: 1 Club Members
===================
Mary Frank Kevin

1. Display all members
2. Display all movie information for a member
3. Increment the times a specific movie was watched by a member
4. Add a movie for a member
5. Add a new member
Q. Quit

Please enter a selection: 2
Please enter the user's name: Kevin Movies for club member: Kevin
Movie Rating Watched
========================================

Hints

You must use a Python Dictionary as the data structure that will hold all the movie and user information. You may structure this Dictionary in any way you like. However, you may use the following Dictionary if you wish.

movies = { 'Mary': {'Big':
{
'Watched': 1,
'Rating': 'G'
},
'Superman':
{
'Watched': 3,
'Rating': 'PG'
},
'Forrest Gump':
{
'Watched': 3,
'Rating': 'PG-13'
}
},
'Frank': {'Beauty and the Beast':
{
'Watched': 1,
'Rating': 'G'

},
'Kung Fu Panda':
{
'Watched': 5,
'Rating': 'G'
},
'Cinderella':
{
'Watched': 1,
'Rating': 'G'
}
}
}

The overall logic of the program is straightforward. You may use the following structure as a starting point if you wish:

print("Welcome to the Movie Lover's Club") while True:
#Display the main print("1. Display all members")
# Get the menu selection from the user
# and make sure it is valid
if selection == '1':
# do it
if selection == '2':
# do it
if selection == '3':
# do it
if selection == '4':
# do it
if selection == '5':
# do it
if selection == 'Q':
# do it

print("Thanks for using the Movie Lover's Club application!")

Verified Expert

In this i have created the movie lover's club program. The Movie Lover’s Club is a club of persons that love to watch movies and keep track of how many times they have watched the movies they love. With the use of python dictionary as a data structure i have implemented this program.

Reference no: EM131464982

Questions Cloud

How you will get the money to move your shop : Suppose that for the past three years you have been repairing lawn mowers in your garage. Your business has grown steadily, and recently, you hired two.
Budget constraints for the composite good : If your income is $12/wk ad the composite good costs $1, graph your budget constraints for the composite good and the phone calls.
Did you observe any evidence of general medical conditions : Describe any symptoms that you have observed that support the diagnosis. You can include direct quotes or behaviors that you may have observed.
Describing the current state of the health care industry : Write a short (2-3 page, double-spaced, typed) essay identifying and describing the current state of the health care industry using the tools.
Project - movie lovers club : The Movie Lovers Club is a club of persons that love to watch movies and keep track of how many times they have watched the movies they love.
Market equilibrium price-output combination : Calculate the surplus or shortage of Eye-de-ho Potatoes when P = $1.50, $2, and $2.50. Calculate the market equilibrium price-output combination.
What skills do financial managers need : Financial managers are responsible for determining the best way to raise funds, for ensuring that the funds are used to accomplish their firm's goals.
How might revised and new hrm approaches affect : How might revised and/or new HRM approaches affect how they manage and communicate with their staff? How might they need to adjust to make approaches effective?
Production function in the short run : A firm that manufactures office desks has the following production function in the short run:

Reviews

Write a Review

Python Programming Questions & Answers

  Write a program that asks for the users age

Write a program that asks for the user's age. Based on their response print "You can vote" (18 years old or older) or "You can't vote" and also whether or not he/she is a senior citizen (over 64). If senior citizen print "You're a Senior Citizen.

  Write a program using the ''requetinteger''

using python/jython programming write a program using the 'requetInteger' function that will ask the user to type a value that will draw a line from one point on a picture to another. I don't need specific help just a gerneral idea.

  Input a temperature as a floating point

Your program should input a temperature as a floating point number with an appended unit letter. It should then print the temperature in all four of the units above

  What is complexity in asymptotic notation of your solution

Write a program in Python to draw the following figure: What is the complexity in asymptotic notation of your solution? Return the "centered" average of an array of ints, which we'll say is the mean average of the values.

  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.

  1 why is biodiversity importantnbsp discuss the ways in

1 why is biodiversity important?nbsp discuss the ways in which the value may be assigned to biodiversity. based on your

  Python errors

python errors, please correct them that are located in this program,

  Aussie best car abcdeclares that based on its yearly sales

aussie best car abcdeclares that based on its yearly sales it will award a bonus as follows. the bonus will be equally

  Write a program that obtains integer numbers from user

Emphasize standard approaches that verify you have successfully mastered the concepts of structured design - selects a menu item, program should perform calculation, display the result to the user, and return to the main menu.

  Write a program that should control the motion of paddle

If the player chooses to play against an automated paddle, your program should control the motion of the paddle. You can track the current position and direction of the ball to estimate whether it should move up or down from its current position.

  Find a python script

Find a python script

  Write a python program that reads the contents of the data

Design an algorithm and use it to write a Python program that reads the contents of the data file into a list. The program should then loop, to allow a user to check various numbers against those stored in the list.

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