Tutorial
Hello World in Python
Welcome to Python! 🎉 This is your first step into programming. Let's write a very simple program.
We'll start by showing text on the screen. In programming, displaying messages is one of the most basic tasks.
Printing Text
Python has a built-in function called print(). This function shows whatever you put inside the parentheses on the screen.
For example, you can type a simple greeting like this:
Example
When you run this code, Python will display exactly what is inside the quotes. In this case, you will see:
You can put any text inside the quotes, and Python will show it exactly as you type it.
On the next page, you will get a hands-on exercise. There, you can try writing your own message using the print() function.