Skip to content

Added a new method to print Hello, World! #133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sarveshdss75
Copy link

This pull request adds a new method in the Python file method_1001.py to print "Hello, World!" using a function.

Changes Included:

  • Added a new Python file named method_1001.py.
  • Implemented a function print_hello_world() that prints "Hello, World!".
  • Added a conditional block to execute the function if the script is run directly.

Why This Change?
This addition demonstrates a new way to print "Hello, World!" in Python and contributes to the variety of methods available in this repository.

How to Test:

  1. Clone or pull the latest changes from the repository.
  2. Navigate to the repository directory.
  3. Run the new script with:
    python method_1001.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant