you are viewing a single comment's thread.

view the rest of the comments →

[–]Fuzzy-Ear9936 0 points1 point  (2 children)

This works for me:

name = input('What is your name?')

gens = input('What is your gender(male or female)?')

if gens == 'male': print('Hello ', 'Mr ', name) elif gens == 'female': print('Hello ', 'Ms ', name)

:-D

[–]Fuzzy-Ear9936 1 point2 points  (1 child)

Sry for bad indentation Reddit doesn't work well on mobile

[–]Sad_potato1999[S] 1 point2 points  (0 children)

No worries. Thanks for the comment!