> For the complete documentation index, see [llms.txt](https://pyhub01.gitbook.io/python-complete-tutorial/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pyhub01.gitbook.io/python-complete-tutorial/try-python-for-the-first-time/hello-world.md).

# Hello world!

In the programming world, a new language always uses hello world for testing, so today we will use python to test hello world.

```python
>>> print('hello world')
hello world
```

We know that python is a scripting language. The code that outputs Hello World can be run directly on the interactive interface and the results can be given directly. Isn’t it very convenient? Let's take a look at how other languages need to be able to output Hello World!

The following is the programming method of Hello World in java

```java
public class HelloWorld 
{
    public static void main(String[] args) 
    {
        System.out.println("hello world");
    }
}
```

The following is the programming method of Hello World in C++

```cpp
#include <iostream>

int main() 
{
    std::cout << "hello world" << endl;
    return 0;
}
```

The following is the programming method of Hello World in C

```c
#include <stdio.h>

int main() 
{
    printf("hello world");
    return 0;
}
```

After comparison, you will find the simplicity of python. In the next chapter, we will continue to explore the python method of Hello World.

## Statistics

Start time of this page: December 17, 2021

Completion time of this page: December 17, 2021
