Skip to content

Commit 0a205aa

Browse files
author
Ashwin Hegde
committed
Merge pull request #2 from hegdeashwin/develop
Develop
2 parents 5dd0279 + ca154df commit 0a205aa

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

codes/ch1_syntax/helloworld.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/python3
2+
3+
print("Hello World")

codes/ch1_syntax/main.py

+10
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()

codes/ch1_syntax/whitespace.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/python3
2+
3+
def main():
4+
print("In the main function")
5+
print("Not in the main function")
6+
7+
if __name__ == "__main__": main()

0 commit comments

Comments
 (0)