Skip to content

Commit 2b69219

Browse files
committed
Adds main eg
1 parent f33953a commit 2b69219

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

codes/ch1/main.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/python3
2+
3+
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()

0 commit comments

Comments
 (0)