All TutorialsCoursesEvents & Contests

Sign in to Track Your Progress


Hello World Assignment

Hello World in Python

Hello World Assignment


Sign in to Track Your Progress

Hello World Assignment

By Masai School

Updated on : 2 Feb 2023

Published on : 2 Feb 2023

Say "Hello, World!" With Python

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!"
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
Hello, World!
to stdout.

Sample Output 0
Hello, World!


Python 3



Check Out Programs Offered By Masai

If you are currently studying in 1st, 2nd or pre-final year of college,

Connect with a growingcommunity of learners

Masai School

Get StartedJoin the Program