How to Print Name with Hello and Gender
#PRINT HELLO WITH NAME AND GENDER
print('HELLO WITH NAME AND GENDER')
n=input('Enter Name :- ')
g=input('Enter Gender (m/f) :-')
if(g=='m'):
print('Hello! ','Mr.'+n)
elif(g=='f'):
print('Hello! ','Mrs.'+n)
else:
print('Hello! ',n)
Made By:-
Nilay Saraf
Comments
Post a Comment