Write a python function Find_Status(A) (Refer RollNo_W8A_3.py ) which takes a list of person’s age as input return a list containing person life status whether they will remain alive or not based in above conditions.
def Find_Status(A):
if age >= 75:
print('dead')
else:
print('life')
age = int(input())
Find_Status(age)
Comments
Leave a comment