Question: True / False Create a function called trueFalse ( ) . The function will print a true / false question to the screen. The function
TrueFalse
Create a function called trueFalse The function will print a truefalse
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 point. If the user typed the incorrect answer, the function will return
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
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
