Make a decision · in code: If / Else
Asks a yes-or-no question and follows the Yes arrow (left) or the No arrow (right).
age >= 13 or answer == 42.Open it in the editor, press Run, then change it and run it again.
ageage >= 13 true?Yes →
"You can join the club!"No →
"Come back when you are 13."15It showsYou can join the club!9It showsCome back when you are 13.age = int(input("How old are you? "))if age >= 13: print("You can join the club!")else: print("Come back when you are 13.")>, <, >= (at least), <= (at most), == (equals) and != (not equal).=? That's a mistake. To check if two things are equal, always use ==.