mirror of
https://github.com/octocat/Hello-World.git
synced 2026-06-07 04:57:49 +00:00
feat: add hello.py Python script
This commit is contained in:
parent
7fd1a60b01
commit
57c91c093f
1 changed files with 14 additions and 0 deletions
14
hello.py
Normal file
14
hello.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env python3
|
||||
"""
|
||||
Hello World Python Script
|
||||
|
||||
A simple Python script that prints a greeting message.
|
||||
"""
|
||||
|
||||
def main():
|
||||
"""Main function that prints a hello world message."""
|
||||
print("Hello, World!")
|
||||
print("Welcome to the octocat/hello-world repository!")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue