Hobby choices


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


FAQ: Learn Python- Loops - For your hobbies

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: "))