Python Introduction
Python is a high-level, interpreted programming language created by Guido van Rossum in 1991. It emphasises readable code and short syntax, so beginners can write useful programs quickly.
Today Python powers web apps (Instagram, Reddit), data science (pandas, NumPy), machine learning (TensorFlow, PyTorch), automation scripts and even microcontrollers.
Why learn Python?
Python's syntax looks close to plain English, which lowers the barrier for new programmers. It has a huge standard library and a giant community, so most problems have a ready-made package on PyPI.
Where is Python used?
Web backends (Django, Flask, FastAPI), data analysis (pandas), machine learning (scikit-learn, PyTorch), scripting/automation, DevOps, game prototypes, education, and scientific computing.
print("Hello, World!")Hello, World!print() is a built-in function that writes text to the screen.
name = "Ada"
print("Hi", name)Hi AdaVariables don't need type declarations โ Python figures out the type from the value.
Key points
- Python is interpreted, dynamically typed and open-source.
- It is used across web, data, AI, automation and more.
- Code is executed line-by-line by the Python interpreter.
- The current major version is Python 3 โ always prefer it over Python 2.
