Who wants to be a millionaire? I do!
Draw a flowchart for a program that asks the user a question, and if they answer correctly, print back
Correct!. Then in the editor below, write the program in Python and test it to make sure that it works!
Remember to use the Python reference sheet to help you with your code! Click on one of the buttons below:
Need some help? Click here to reveal a video walkthrough for this task!
Have a nice day!. If the user types the correct answer, then the program should print
Correct!in green text before it prints
Have a nice day!.
ifstatements in Python! Everything “inside” the
ifstatement has to line up, and don’t forget the colon (
:) at the end of the
Below is an example of how the program should run:
What is the capital city of Iceland? Canberra Have a nice day!
What is the capital city of Iceland? Reykjavik Correct! Have a nice day!