All TutorialsCoursesEvents & Contests
loading

Sign in to Track Your Progress

Module

Hello World Assignment

Hello World in Python

Hello World Assignment

Modules

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!"
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!

Editor

Python 3

Output

loading

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