From 2a7ed6499b6e19dfd650d1aac83028fea941e40b Mon Sep 17 00:00:00 2001 From: baphim <269010393+baphim@users.noreply.github.com> Date: Thu, 3 Sep 2026 00:41:40 -0400 Subject: [PATCH] feat(r-1.3_scratch.py): attempt at building a list from user input --- lab-01/r-1.3_scratch.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lab-01/r-1.3_scratch.py b/lab-01/r-1.3_scratch.py index 146e2bc..d1cef74 100644 --- a/lab-01/r-1.3_scratch.py +++ b/lab-01/r-1.3_scratch.py @@ -6,7 +6,8 @@ Created on Wed Sep 2 22:49:38 2026 @author: joseph - I started working backwards at a point and wanted to figure out how to take multiple instances of user input and create a list out of them and work -backwards into the function itself +backwards into the function itself. I need to find a way to end the input loop +that I've created.' """ y = True @@ -18,6 +19,6 @@ while y == True: y = False except: input('Please enter a number: ') - - - \ No newline at end of file +if x == float(x): + data = [x] + print(data) \ No newline at end of file