Algorithm


Problem Name: Python - Say "Hello, World!" With Python

Problem Link: https://www.hackerrank.com/challenges/py-hello-world/problem?isFullScreen=true

In this HackerRank Functions in PYTHON problem solution,

Here is a sample line of code that can be executed in Python:

print("Hello, World!")

You can just as easily store a string as a variable and then print it to stdout:

my_string = "Hello, World!"
print(my_string)

The above code will print Hello, World! on your screen. Try it yourself in the editor below!

Input Format

You do not need to read any input in this challenge.

Output Format

Print Hello, World! to stdout.

Sample Output 0

Hello, World!

 

 

Code Examples

#1 Code Example with Python Programming

Code - Python Programming


print("Hello, World!")
Copy The Code & Try With Live Editor
Advertisements

Demonstration


Previous
[Solved] Interviews in SQL solution in Hackerrank
Next
[Solved] Python If-Else in PYTHON solution in Hackerrank