
ifyouwannabemylover
Chasing Vanity
- Joined
- Sep 20, 2020
- Posts
- 17,407
- Reputation
- 33,219
this is revolutionary
person = {}
question1 = input("What is your name?")
person["name"] = question1
question2 = input("How old are you?")
person["age"] = question2
while True:
question3 = input("Are you male or female?")
person["gender"] = question3
if question3 == "female":
print("Foid detected.")
break
elif question3 != "male":
question3 = input("Are you male or female?")
else:
question4 = input("What is your favorite color?")
person["fav_color"] = question4
print("")
print("Thank you for participating. Here are your answers.")
print("Name: " + question1)
print("Age: " + question2)
print("Gender: " + question3)
print("Favorite color: " + question4)
break