From 1d4b2a2b5c694af8c4f88f9e3d7630044404b61c Mon Sep 17 00:00:00 2001 From: baphim <269010393+baphim@users.noreply.github.com> Date: Thu, 3 Sep 2026 01:31:05 -0400 Subject: [PATCH] feat(r-1.3_scratch.py): I crashed spyder with this iteration --- lab-01/r-1.3_scratch.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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