Computer Science, asked by tansi30, 1 month ago

write a python program to take input as follows:
expected input = write your name
,write your age,
write your vaccination status(yes/no)
expected output: (Name)-- (Age). )vaccination status)
ITS URGENT

Answers

Answered by mruser469
0

Answer:

Explanation:

name=input('write your name: ')

age=input('write your age: ')

vs=input('write your vaccination status(yes/no): ')

if(vs!='yes' and vs!='no'):

print('Invalid Input for vaccination status!!')

else:

print('Name: {}\tAge: {}\tVaccincation Status: {}'.format(name,age,vs))

Similar questions