Hello world.

Hello World

How to write Hello World in different languages? Let's see:

Hello world in Python

Just use print function

print('Hello World!')

or using just (')

print("Hello World!")


There is System.out.print function

public class Hello {
  public static void main(String[] args){
    System.out.print("Hello World");

Hello world in Golang

You should us Println from fmt package

package main
import "fmt"
func main() {
    fmt.Println("Hello World")


Just echo without any quotation marks (you can use it but it's not necessary

echo Hello World!


First example shows alert window whereas second prints to the browser console.

    alert('Hello, world!');


      console.log('Hello World!')

Of course, above examples are just pieces of the code. How to run these codes? This is another part of the story. Maybe good enough for another port.

More info



Leave a Reply

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