๐Ÿ“– Beginning Python Programming /
Module: Controlling logic flow

if...:

๐Ÿ“– Beginning Python Programming / Controlling logic flow / if...:

Code Example: if

age = input("What is your age? ")

if int(age) >= 18:
    print("You may drink, a little bit.")
else:
    print("Please don't drink.")

print("Good bye.")