Write a program to check whether a person is senior citizen or not?"""""

def sc(age):
if age > 60:
print(“Person is senior citizen”)
print(“Person is not a senior citizen”)
sc(int(input(“Enter the age”)))

1 Like


correct. keep it up.
Keep Practicing.

print(“enter age of citizen”)
age = int(input())

if age >= 65:
print(“senior citizen”)
print(“not a senior citizen”)

1 Like


Correct, keep it up.
Keep Practicing, Keep Learning.

1 Like