Learn it
Python is used by scientists, game studios and web companies. Install it free from python.org (includes IDLE), or use a browser editor. A script is a .py file run from top to bottom.
π§° Tool: any free online Python editor such as Online Python or Trinket, or install Python from python.org and use IDLE.
Code examples
Python
# hello.py
print("Hello, world!")
print("Python version check:", 3 + 0.11)
name = "Ada"
print("Welcome,", name)
Run from a terminal
python3 hello.py
Project: Get set up
- Install Python or open an online editor.
- Create hello.py and run it.
- Change it to print three facts about you.
Challenge: Run python3 in a terminal and try commands interactively (the REPL).