Skip to content

Commit c18d9df

Browse files
authored
Create hello_world.py
1 parent 9fb62c9 commit c18d9df

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#
2+
# main function to run hello_world
3+
#
4+
def main():
5+
6+
str = "Hello World!"
7+
print(str)
8+
return str
9+
10+
#
11+
# call main() to start program
12+
#
13+
if __name__ == "__main__": main()

0 commit comments

Comments
 (0)