In this HackerRank Say "Hello, World!" With the Python problem, we need to write a python program in which we need to print the Hello, World! on the output, the screen using the print() function. also, remember that lowercase and uppercase latter should match.
HackerRank Say "Hello, World!" With Python problem solution
my_string = "Hello World!"
print my_string
Problem solution in Python 3 programming
print("Hello, World!")
Here in the above problem, we use the my_string variable to store the string and then we print the value of that string on the output screen using the print screen. and in the second solution, we have directly use the print function to print the Hello, World! message on the screen.
0 Comments