Question: Use python Create a program that asks a user a question. Your question should have at least two potential answers (you can do more than

Use python
 Use python Create a program that asks a user a question.

Create a program that asks a user a question. Your question should have at least two potential answers (you can do more than two if you really want to). Once the user answers the question, the progranm should validate that the user input a valid answer. If they haven't, the program should loop until they have entered in a correct answer. Once a correct answer has been received, the program should respond uniquely based on what they answered (one output for the first answer, another output for the second answer). It doesn't have to be complex: just a simple print response will suffice. Your program should allow any type of casing for your valid answers. For example,if "turtle" is a valid answer, then your program should accept "TURTLE" or Turtle" as a valid answer also. The following resource will aid you in this: https:/wwwtutorialspoint.com/python3/string lower.htme Hints: . Your program should use a loop Your program should also use conditions - they should only be checked if there's a valid answer though

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!