Input
The Programmer's dad's age
Description
N/A
Constraints
N/A
Sample
N/A
Output
The first line will contain a message prompt to input The Programmer's dad's age.
The second line contains that inputted age.
The third line contains a string if his dad is a senior citizen.
Enter·The·Programmer's·dad's·age:·62
His·age·is·62
Senior·Citizen
age = int(input("Enter·The·Programmer's·dad's·age: "))
print("His·age·is· "+str(age))
if(age>=60):
print("Senior·Citizen")
else:
print("Not a Senior·Citizen")
Comments
Leave a comment