diff --git a/lab-01/r-1.3_scratch.py b/lab-01/r-1.3_scratch.py index 8104eb8..9f3d34f 100644 --- a/lab-01/r-1.3_scratch.py +++ b/lab-01/r-1.3_scratch.py @@ -10,8 +10,8 @@ backwards into the function itself. I need to find a way to end the input loop that I've created.' """ - - - - - \ No newline at end of file +data = [] +x = input('Enter a number (enter "end" to stop): ') +while x != "end": + data += [x,] + print(data) \ No newline at end of file