What is Python?
- Python course
- Beginner
- Lesson 1/116
- 4 min
Learn that Python is an interpreted, high-level language.
What is Python?
Python is a general-purpose programming language created by Guido van Rossum in 1991, famous for its readability. Today it is a modern language at version 3.12.
Python is an interpreted language: an interpreter runs your code line by line instead of a compiler. This makes fast trial and error easy.
Python is used for websites, data analysis, artificial intelligence, automation and games. Famous apps written in Python include Instagram, YouTube and Netflix.
What can you build with Python?
Python is a multi-purpose language. The most common use cases are:
- Web: secure sites with Django and Flask
- Data: analysis and statistics with pandas and NumPy
- AI: machine learning and large language models
- Automation: scripts that speed up repetitive tasks
This flexibility makes Python popular worldwide.
Questions and answers
Review the lesson questions together with their answers. To test yourself, solve the lesson interactively.
1 What runs Python code?
- A browser
- A compiler
- An interpreter Correct answer
- The operating system
Explanation: An interpreter runs Python code line by line.
2 Match the concepts
| Term | Meaning |
|---|---|
Python |
Language |
Interpreter |
Runtime |
PyPI |
Package index |
Guido van Rossum |
Creator of the language |
3 Which can NOT be done with Python?
- Build a website
- Do data analysis
- Write an automation script
- Write an operating system kernel Correct answer
Explanation: OS kernels are typically written in C; Python is not suited for that.
4 Python is an ___ language
Python is an ____ language.
Python is an interpreted language.
Explanation: Python is an interpreted language.