a programming logic class using pseudocode as primary language.
****
I'm trying to prompt the user for 5 items,
my goal is to set these items into a list,
then print the list.
I'm stuck at this point, all it does is print last inputed item.
#List[items] and print them.
promptcounter = 0
while promptcounter < 6:
print('input up to 5 items.' + str(promptcounter))
list = []
item = input()
item = str(item)
list.append(item)
promptcounter = promptcounter + 1
print (list)