Conditional Structure Exercises
Write a program which input age from user and display on the screen if he/she is of legal age or not.
age = int(input("What is your age?")) if age < 18: print ("You are a minor.") else: print("You are of legal age.")
If condition Satisfy:
If conditionNot satisfy:
Hope You will learn Something. Happy Coding