We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ac96f8 commit b33eb1dCopy full SHA for b33eb1d
number_input_examples.py
@@ -52,16 +52,20 @@ def get_integer_with_default(
52
53
if __name__ == "__main__":
54
print(get_integer("Testing get_integer(): "))
55
- print(get_integer(
56
- "Testing get_integer() with an error message: ",
57
- "Invalid integer!")
+ print(
+ get_integer(
+ "Testing get_integer() with an error message: ", "Invalid integer!"
58
+ )
59
60
61
+ get_float(
62
+ "Testing get_float() with an error message: ", "Invalid float!"
63
64
)
- print(get_float
- ("Testing get_float() with an error message: ",
- "Invalid float!"))
65
print(
66
get_integer_with_default(
67
"Testing get_integer_with_default(): ",
- 99, "That's not a valid integer!"
68
+ 99,
69
+ "That's not a valid integer!",
70
71
0 commit comments