Find answers to your questions and expand your knowledge with IDNLearn.com. Join our interactive Q&A community and get reliable, detailed answers from experienced professionals across a variety of topics.
What's wrong with the coding worksheet syntax and how would you fix it?
#Travies Robinson
#11/23/2020
#Coding Fundamentals : Coding Logic : 03.05 Python Project favorite video game response
def main():
answer = input("Would you like to take a one question survey? (yes or no)")
if(answer == "yes"):
favGame = input("What is your favorite video game?")
print("Your favorite video game is the " + favGame + " amazing i've never played that
before.")
answer = input("What your favorite part of " + favGame + "?")
print("Interesting mabye i should try " + favGame + "."")
Country = input("What country are you living in right now?")
print("You are currently living in " + Country + ".")
Age = input("How old are you?")
print("Your age is " + Age + ".")
print("Thank you for answering the survey and have a great day!")
We are delighted to have you as part of our community. Keep asking, answering, and sharing your insights. Together, we can create a valuable knowledge resource. IDNLearn.com is committed to providing the best answers. Thank you for visiting, and see you next time for more solutions.