Sorry the title is a bit vague, I'm not entirely sure what it is I'm asking for...
Basically, I'm asking for user input which can be from one to five entries (e.g. 2 entries could be as simple as 1 2, or five entries could be This Is My 5 List).
I'd like to assign each entry to a variable; obviously I don't need to 5 variables if only 2 entries are input.
I'd then like to be able to call the variables individually IF they have been entered.
So far I've been playing around with;
if len(UserInput) >1 and len(UserInput) <= 5:
count = 0
for i in UserInput:
count = count + 1
print("Input"+str(count))
This will output what the user enters but I'm not sure how to dynamically assign the amount of entries in to a dynamic amount of varaibles.