Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name = input("What is your name ? ")
- print("Hello " + name)
- print("Let's find out something about yourself")
- gender=input("are you female ?")
- hair=input("Is your hair brown?")
- if hair == "yes":
- print ("so was mine once!")
- else:
- print("mine has been lots of colours")
- hair=input("what colour is your hair?")
- eyes = input("What colour are your eyes ?")
- if eyes == "blue":
- print("so are mine")
- elif eyes == "brown":
- print("that is the colour of my daughters eyes")
- else:
- print("green eys are really rare")
- print ("This is what I know about you")
- if hair =="yes":
- print("Your hair is brown")
- else:
- print("your hair is " +hair)
- print("your eyes are " +eyes)
- if gender == "yes":
- print ("your are female")
- else:
- print (" your are male")
- print ("Thank you " + name +" for sharing information about yourself with me :-)")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement