age = int(input("Enter your age: ")) if age < 18: print("You are a minor.") elif 18 <= age < 65: print("You are an adult.") else: print("You are a senior citizen.")
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter