Phyton, problem in code NEED HELP!



hey guys i have a problem with this code:

pasatiempos = []
x=raw_input("Ingrese pasatiempo: ")
print x
for i in range(3):

print pasatiempos

its supposed to ask for a hobby 3 times and add it to the list but it only ask once and prints the same 3 times... i must use for... if you know how to do it please tell me how... THANKS!!!


To achieve this task you can go about it two ways. Use nested for loops, or a while loop.


pasatiempos = []
for i in range (0,3):
    pasatiempos.append(raw_input("Ingrese pasatiempo:"))

print pasadiempos