EDIT - Apparently this is a duplicate. And while I've no doubt the core problems are answered elsewhere I think that the level is pretty blatant and thus the ability to comprehend other solutions and transpose them into my own problem is diminished. I searched before asking.
I'm just having a mess about and was trying to write a little thing with user input.
However, I'm not sure how to go about this without knowing how many iterations are needed, or having two questions?
I tried to modify it to take an if condition, which I don't really want anyway but that didn't work either :
for i in range(50):
userIn = raw_input()
urlList.append(userIn)
print 'Continue? Y/N'
ynAns = raw_input()
if ynAns == 'n' or 'N':
break
Basically I'm just trying to take user input to fill up a list and then print it out.
I also tried
import sys
listOne = []
num = int(raw_input('How many'))
for x in range(num):
listOne.append(raw_input(('Entry #' + x+1 + ' '))
print listOne
pretty basic