Are we twins? Let’s find out!
In the editor below, fill in the blanks (
________) so that the program asks the user for their age, and if it’s
"14", print back
Heya, twin! according to the flowchart below:
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!
See ya later!onto the screen. If the user types
"14"for their age, then the program should print
Heya, twin!before it prints
See ya later!.
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:
Hi there! How old are you? 13 See ya later!
Hi there! How old are you? 14 Heya twin! See ya later!