Marella Mydhili
last year
Marellacountry asked

Why did we write "Hello, World" and not something like "Hello, Computer"?

Kelish Rai
Expert
last year
Kelish Rai answered

When you're first learning to code, it's a common tradition to start by displaying Hello, World!—it's a simple way to check that your code is working. This has been the go-to example for decades.

But there’s no rule that says you must write Hello, World!. If you’d rather write Hello, Computer! or something else, feel free to do that. The key thing is getting comfortable with printing to the screen.

For example:

print("Hello, World!")

or you could just as easily do:

print("Hello, Computer!")
Python
This question was asked as part of the Getting started with Python course.