Computer Science, asked by keerthanas87, 5 months ago

wap to enter any age and check it is teenager or not in python​

Answers

Answered by anindyaadhikari13
8

Question:-

  • WAP to enter any age and check it is teenager or not in python.

Program:-

n=int(input("Enter your age: "))

if n<=18:

print("Teenager")

else:

print("Not Teenager.")

Answered by gaganadithyareddy9
3

Answer:

Hey this is in python...

age = int(input("Enter age: "))

if age<13:

   print("Person of this age is not a teenager")

else:

   print("The person of this age is a teenager")

# Hope this helps!!

Similar questions