Browse Source

上传文件至 ''

shaoyx 4 years ago
parent
commit
55329d445c
1 changed files with 9 additions and 9 deletions
  1. 9 9
      hello.py

+ 9 - 9
hello.py

@@ -1,10 +1,10 @@
1
-x = int(input("Please enter an integer:"))
2
-if x < 0:
3
-    x = 0
4
-    print('Negative changed to zero')
5
-elif x == 0:
6
-    print('Zero')
7
-elif x == 1:
8
-    print('Single')
9
-else:
1
+x = int(input("Please enter an integer:"))
2
+if x < 0:
3
+    x = 0
4
+    print('Negative changed to zero')
5
+elif x == 0:
6
+    print('Zero')
7
+elif x == 1:
8
+    print('Single')
9
+else:
10 10
     print('More')