Skip to content

Commit dfa6a5a

Browse files
committed
加入了汉字
1 parent caec570 commit dfa6a5a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

condition_if_simple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ def main():
33
if(int(Age)>18):
44
print("welcome")
55

6-
6+
# 简单分支程序,在VSCode中无法输出,修改Code Run的设置即可。
77

88

99

conditional_if_elif.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
def main():
1+
def aamain():
22
Age=input("enter your Age:")
33
if(int(Age)>=8 and int(Age)<=10):
44
print("children")
@@ -19,4 +19,4 @@ def main():
1919

2020

2121

22-
if __name__ == '__main__':main()
22+
if __name__ == '__main__':aamain()

0 commit comments

Comments
 (0)