Question: use python Write a Python program that asks user whether he/she agrees to the contract. If user enters Yes or No, print out the message
Write a Python program that asks user whether he/she agrees to the contract. If user enters Yes or No, print out the message Got it!; otherwise, print out the message Invalid answer!. Hint: the if-else decision structure and the logical operator(s) must be used. Only one keyword if keyword can be used. [Run your program in Python IDLE to verify if it works correctly as described above]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
