Question: Python 1 answer = input ( The computer was invented in 1 8 2 2 : ) working with the if statement complete
Python
answer inputThe computer was invented in :
working with the if statement
complete the python code using the if elif statement block for the statement.
the computer was invented in :
if the user input is given as True, print Correct.
if the user input is given as False, print Wrong.
if theuser input is not equal to True or False, print Please answer True or False.
Sample input: TRUE
Sample output: The computer was invented in : Correct
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
