15 lines
349 B
Python
15 lines
349 B
Python
def hello_world():
|
|
"""Return a simple greeting message."""
|
|
return "Hello, World!"
|
|
|
|
def add_numbers(a, b):
|
|
"""Add two numbers and return the result."""
|
|
return a + b
|
|
|
|
def main():
|
|
"""Main function to demonstrate the module."""
|
|
print(hello_world())
|
|
print(f"2 + 3 = {add_numbers(2, 3)}")
|
|
|
|
if __name__ == "__main__":
|
|
main() |