Goku-kun / 1000-ways-to-print-hello-world-in-python

This is a public repository where the aim is to print "Hello, World!" in all different possible ways.
63 stars 73 forks source link

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

Open sarveshdss75 opened 3 months ago

sarveshdss75 commented 3 months ago

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

Changes Included:

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