Question: Python Help data = input ('enter a string: ') while data != 'none': data = input ('enter a string: ') With a while loop like
Python Help data = input ('enter a string: ')
while data != 'none': data = input ('enter a string: ')
With a while loop like this, how can I make it so it will store all the data values and then print it out at the end? For example, if i were to enter 'a' 'b' and 'c' , then enter 'none' to stop the while loop, it would then print out all 3 strings together like 'a b c'
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
