Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 Normal 1 No Spac... Heading 1 Heading 2 Title Paragraph Styles 3 4 5 6.7 Python Deliverables - Copy and paste the code required

image text in transcribed
1 Normal 1 No Spac... Heading 1 Heading 2 Title Paragraph Styles 3 4 5 6.7 Python Deliverables - Copy and paste the code required to answer the following questions along with a screenshot of the executed code. 1 Create a list and assign values to it by prompting the user to enter their favorite games until they enter "Game Over!". Hint: Remember that you can declare an empty list with suvlist = 1) and that you should use a while loop here to prompt/add values 2. Print out the list to the user using a For Loop. 3. Create a new list and assign values to it by prompting the user to enter their favorite bands until they enter "The show is over?". Hint: Code is about reusability. 4. Create a tuple that includes a game and a band that you think would make a good combination 5 Use a nested for loop to check if any combination of game/band that the user entered matches your tuple. If both a game and band they entered matches your tuple values, then print out an appropriate message. If only a game matches, then print out a message. If only a band matches, then print out a message. Example: The user entered Hades as a game and The Deftones as a band at some point in their lists. That exists in my tuple, so I print out "That is the perfect combination!". if they only had one in their appropriate lists, then I print out "That is my favorite band!" or "That is a great game!". 6. Create a new set with your favorite games for bands), 7. Print out your values with the message: "My favorites games for bands depending on what you choose) are: 8. Add the appropriate values from the list the user entered to the topic for the Set you chose before game/band). 9. Print out a message stating "Our best bands/games in no particular order would be with the final values in the Set

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions

Question

How was your life influenced by those events?

Answered: 1 week ago

Question

Which of these influenced your life most dramatically?

Answered: 1 week ago