Hobby choices


#1

Is there a way to ask for the 3 hobby choices without repeating the question in the loop?

thanks


FAQ: Learn Python- Loops - For your hobbies
#2

The question remains, has the unit on loops already come up? If not, then forestall this question until that time.

hobbies = []
while len(hobbies) < 3:
    hobbies.append(raw_input("Enter a hobby: "))

#3

Why am I not allowed to see your answer?


#4

you are, just click it. its a blurred spoiler.


#5

Thanks for your help!