Answer to Question #235878 in Python for Isabel Cortez

Question #235878

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


1
Expert's answer
2021-09-11T07:04:57-0400
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")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS