You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/python.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -394,7 +394,7 @@ var = input("Enter a number: ")
394
394
if var =="":
395
395
print("You didn't enter anything!")
396
396
else:
397
-
print("You entered",float(var))
397
+
print("You entered",float(var))
398
398
~~~~~
399
399
400
400
Now, extend your program to let the user enter the list of values. Stop asking for new list entries when they do not enter anything at the `input` prompt.
0 commit comments