diff --git a/condition_if_simple.py b/condition_if_simple.py index de2085e..f3bfcca 100644 --- a/condition_if_simple.py +++ b/condition_if_simple.py @@ -3,7 +3,7 @@ def main(): if(int(Age)>18): print("welcome") - +# 简单分支程序,在VSCode中无法输出,修改Code Run的设置即可。 diff --git a/conditional_if_elif.py b/conditional_if_elif.py index 8ae7e05..c69f4b0 100644 --- a/conditional_if_elif.py +++ b/conditional_if_elif.py @@ -1,4 +1,4 @@ -def main(): +def aamain(): Age=input("enter your Age:") if(int(Age)>=8 and int(Age)<=10): print("children") @@ -19,4 +19,4 @@ def main(): -if __name__ == '__main__':main() \ No newline at end of file +if __name__ == '__main__':aamain() \ No newline at end of file diff --git a/lsh.txt b/lsh.txt new file mode 100644 index 0000000..94bf4f0 --- /dev/null +++ b/lsh.txt @@ -0,0 +1 @@ +我的文件。 diff --git a/lsh2.txt b/lsh2.txt new file mode 100644 index 0000000..69420c5 --- /dev/null +++ b/lsh2.txt @@ -0,0 +1 @@ +第2个文件