Prompt the user to create a list of characters, movies, or TV shows. Make sure there are at least 5
Print them, making sure there is no whitespace, and that all characters, movies, or shows are in title case
You'll need to use .strip() as well as .title()
1) Create a list of prompts which looks like the one shown
2) Create a blank list called movies
3) Use a For Loop to Collect Movie Titles
Use a for loop to go through each item in the prompts list.
For each prompt in prompts, ask the user to enter a movie title. Use prompt in your input message to create prompts like "first movie: ", "second movie: ", and so on.
Add each entered movie title to the movies list.
Skeleton Code is Below:
Sample Output
Create 2 lists as shown
TASK 1: Using loops, you need to print the following output
You must have 10 - A of all suits shown (nicely)
Can you figure out how to get them to print with characters instead of words??
Can you figure out a way to now get that to sort them by both card, and then by suit in the same program?
You'll definitely need nested loops!!!
Asks the user to enter information for two different TV shows.
Stores this information in a list of lists format.
Uses a for loop to display the stored information.
Create a blank list called: shows = []
Prompt a user to enter the following (for 2 shows):
Show Title
Show Rating (1-5 Stars)
Show Description
Store that information as a LIST OF LISTS by adding the title, rating and description to the shows list, as a SINGLE ENTRY
Once done, print the information like below...
Adding show info to your list...
shows = [ ]
shows.append([Title, Rating, Description]
How to access them??
show[0] would be the title
show[1] would be the rating
show[2] would be the description
BUT, they're already in a list... maybe this??
shows[0][0] or shows[0][1] or shows[0][2]
OR USE A FOR LOOP SINCE IT'S WAY EASIER!!! HOW???!!
Display the rating not as a number, but using images:
Example:
⭐ ⭐🌟🌟🌟 would be 2 / 5
⭐ ⭐⭐ ⭐🌟 would be 4 /5