Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions languages/python/hello-world/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
\# Hello World — Python



A simple program that prints "Hello, World!".



Run:



12 changes: 12 additions & 0 deletions languages/python/hello-world/hello_world.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env python3
"""
hello_world.py — prints Hello, World!

Run:
python3 hello_world.py
"""
def main():
print("Hello, World!")

if __name__ == "__main__":
main()