Im trying to write a program that assigns an empty str to the variable myvar. then in a while loop the program asks for the user to type text, anything they want and it will print to the screen until the user enters the text quit which will end the loop and stop the program.
this is what I have
myvar = str("")
while myvar != "quit":
user_input = raw_input()
user_input = myvar
print myvar
Thanks.
user_input = myvartomyvar = user_input. Also, this seems like a homework question, which really isn't what StackOverflow is for at all.