We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5dd0279 + ca154df commit 0a205aaCopy full SHA for 0a205aa
codes/ch1_syntax/helloworld.py
@@ -0,0 +1,3 @@
1
+#!/usr/bin/python3
2
+
3
+print("Hello World")
codes/ch1_syntax/main.py
@@ -0,0 +1,10 @@
+def main():
4
+ print("Hello! Python")
5
+ welcome()
6
7
+def welcome():
8
+ print("Welcome to the world of Python")
9
10
+if __name__ == "__main__": main()
codes/ch1_syntax/whitespace.py
@@ -0,0 +1,7 @@
+ print("In the main function")
+print("Not in the main function")
0 commit comments