diff --git a/lab-01/r-1.3_scratch.py b/lab-01/r-1.3_scratch.py index 7ce815b..8104eb8 100644 --- a/lab-01/r-1.3_scratch.py +++ b/lab-01/r-1.3_scratch.py @@ -10,22 +10,8 @@ backwards into the function itself. I need to find a way to end the input loop that I've created.' """ -data = [] -y = True -while y == True: - x = input('Enter a number (type "quit" to stop): ') - try: - x = float(x) - x = str("quit") - if x == str("quit"): - break - except: - input('Please enter a number: ') - else: - if x == float(x): - data += [x,] - -print(data) + + \ No newline at end of file