I'm trying to prompt the user with the help of list comprehension prompting the user with a raw_input in a specific range (3). I assign then the result to a variable called prompt_user like so:
prompt_user = j = [input('Type Here Value') for i in range(3)]
print(prompt_user)
I then call back my list comprehension to prompt the user:
j
However, it does not prompt the user back and it keeps the previous values, regardless of the fact that I've placed a raw_input in it? Now I've already checked the previous stack article however could not find a solution, as I am aware that list comprehension will return a list, however with the raw_input, I was expecting python to stop the run and prompt the user back no matter what. Instead, it uses the prompt input just the first time and then discards it completely. What am I doing wrong? Thanks