Python program to tell that the user can get Covid-19 Vaccination or not. The minimum age for vaccination is 18.
Answers
Answered by
0
Answer:
ok
Explanation:
age = int(input("Please enter your age:"))
if age <= 0:
print('Invalid input')
elif age >= 18 and age <=40:
print('person is above 18 can be vaccinated')
elif age >= 41 and age <= 49:
print('Person is in middle age can be vaccinated ')
elif age >=50 and age>=80:
print('Person is old age need to be vaccinated according to the guidelines')
else:
print('kid can't be vaccinated')
hope this helps u..
Similar questions