Question: True/False Create a function called trueFalse(). The function will print a true/false question to the screen. The function will read an input from the user.
True/False\ Create a function called trueFalse(). The function will print a true/false\ question to the screen. The function will read an input from the user. The user\ will type true or false. If the user typed the correct answer, the function will\ return 1 point. If the user typed the incorrect answer, the function will return\ 0 points. You **must* have a correct and incorrect answer.\ If the user enters anything but true or false, the question will be marked\ incorrect
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
