Python Introduction
Python is a general purpose language known for clear, readable code. It is used for websites, automation, data analysis and artificial intelligence.
print() shows a value. Python uses indentation (spaces at the start of a line) to group code instead of curly braces.
Example
print("Hello, world")
print(2 + 3)Result
Hello, world 5
- Live Python in the browser is coming soon. For now, run the examples on your own computer or in any online Python tool.
Exercise
Print the text Hi.
("Hi")Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.