Say hello to your first programming language!
Learn what Python is, what programming means, and write your very first line of code: print("Hello!")
Python is a programming language โ a way to give instructions to a computer. It is one of the most popular languages in the world because it is easy to read and write. Today you will write your first Python program!
๐ก Think of it like this:
Think of Python like a recipe. You write down steps in order, and the computer follows them exactly. If you say "print Hello", the computer prints Hello. Simple!
Every programmer starts somewhere. Your first program might be just two words, but it opens the door to building games, apps, websites, and anything you can imagine.
Where you see this in real life:
Python was named after the comedy group Monty Python, not the snake! But the snake mascot is cuter. ๐
Python is a programming language โ a special way to give instructions to a computer. It is super popular because it reads almost like English. Companies like Google, Netflix, and NASA all use Python!
The most famous first program in any language is called "Hello World". It just prints the words "Hello, World!" to the screen. Let us try it!
The print()command tells Python to display something on the screen. Whatever you put inside the parentheses (in quotes) gets printed!
Click Run to see your first Python output!๐ก Try changing "Hello, World!" to your own name. What happens?
You can use print() as many times as you want. Each print() puts its message on a new line!
Click โถ Run to see the output!What does the print() command do in Python?