Use a dictionary to store information about a favorite movie. Include movie title, rating, director, and the year it was released. Include two other pieces of information about the movie of your choosing.
Create a dictionary that stores item number, product name, and pricing information for a product of your choosing. Write code that will take the current price, increase it by 30% and store the updated price back into the dictionary.
Then print a message that the price of the item has been increased by 30%. Include the name of the product in your message.
Using the dictionary you created in problem 6-1, print out all of the keys and values in your dictionary using a loop.
Create a list of 3 or more dictionary items. Each dictionary item should contain a word and its definition. Make sure each dictionary item is stored in the format discussed in the lecture.
Once you have created your list, loop through each item in it and neatly print out each word/definition pair (do not just print the dictionary item directly).
Start with the dictionary you created for problem 6-1. Add a key to it that stores a list of actors/actresses who appear in the movie. Add 4 names to this list.
Then, loop through the list of names and print them out, each on its own line.
Write a program that asks a user what their favorite restaurant is. Then, print a message saying something like, "Let me help you find the closest
Write a program that asks a user for two numbers, multiplies them together, and then prints out the result of the multiplication operation.
Write a while loop that asks a user what they are having for dinner. As they add items, add them to a list. Make sure you include a way for a user to break the loop.
Once the loop has finished executing, print out the items in the list.
A carnival has three rides. In a while loop, ask the user which ride they would like to go on. If it's the Ferris Wheel, print a message asking the user for $2. If it's the tilt-a-whirl, print a message asking the user for $3. If it's the pirate ship, printing a message asking the user for $3.50. If the ride wasn't found, print a message that the ride wasn't found.
Be sure to include a way for a user to break the loop.
Create a list of items you think you will need the next time you go to the grocery store. Have one item appear multiple times.
Pretend that you decided not to purchase the item that appears multiple times. Loop through each item in your original list using a while loop and remove all instances of this item.