feat(r-1.3_scratch.py): I broke it
This commit is contained in:
@@ -16,13 +16,16 @@ while y == True:
|
||||
x = input('Enter a number (type "quit" to stop): ')
|
||||
try:
|
||||
x = float(x)
|
||||
if x != float(x):
|
||||
y = False
|
||||
x = str("quit")
|
||||
if x == str("quit"):
|
||||
break
|
||||
except:
|
||||
input('Please enter a number: ')
|
||||
else:
|
||||
if x == float(x):
|
||||
data += [x,]
|
||||
print(data)
|
||||
|
||||
print(data)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user