-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
name=input("Enter the name of the person:")
year=int(input("Enter the year of birth:"))
age=2026-year
print("Name:",name)
print("Current Age:",age)
if age>=60:
print("The person is a senior citizen")
else:
print(f"{name} is not a senior citizen cause his age is {age}")
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels