回答編集履歴
1
追記
test
CHANGED
@@ -38,4 +38,20 @@
|
|
38
38
|
|
39
39
|
return False
|
40
40
|
|
41
|
+
|
42
|
+
|
43
|
+
def input_int(message):
|
44
|
+
|
45
|
+
while True:
|
46
|
+
|
47
|
+
input_str = input(message)
|
48
|
+
|
49
|
+
if is_int(input_str):
|
50
|
+
|
51
|
+
print("Input Successful !!!")
|
52
|
+
|
53
|
+
return int(input_str)
|
54
|
+
|
55
|
+
print("Input Error !!!")
|
56
|
+
|
41
57
|
```
|