Multiple if statements Python

PHOTO EMBED

Fri Sep 01 2023 10:00:57 GMT+0000 (Coordinated Universal Time)

Saved by @pythonHub #python #python-hub #basics

age = 19

if age==18:
    print("You're 18 go through the next check to know whether you qualify for license or not.")
if age > 18:
    print("You are above 18 you do qualify age criteria for license.")
else:
    print(f"You are not yet 18 come after {18-age} years to qualify the age criteria.")
content_copyCOPY