Say “Hello, World!” With Python – HackerRank Solution

Say “Hello, World!” With Python – HackerRank Solution

Problem :

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!

Solution :

print("Hello, World!")

 49 total views,  2 views today

Post Disclaimer

the above hole problem statement is given by hackerrank.com but the solution is generated by the SLTECHACADEMY authority if any of the query regarding this post or website fill the following contact form thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *