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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!