- Python is a high-level, interpreted programming language created by Guido van Rossum in the late 1980s.
- It is known for its readability and simplicity, making it an excellent choice for beginners and experienced developers.
- Python is widely used for web development, data analysis, scientific computing, artificial intelligence, and more.
- You can download Python from the official website (python.org) and install it on your computer.
- Python's standard library includes modules and packages for a wide range of tasks.
- Popular Python IDEs (Integrated Development Environments) include IDLE, PyCharm, Visual Studio Code, and Jupyter Notebook.
- Python uses indentation to define code blocks, making it essential for code readability.
- Variables are used to store data, and Python is dynamically typed, meaning you don't need to specify a variable's type.
- Comments start with #, and docstrings provide documentation for functions and modules.
- Use print() to display output to the console.
- input() allows user input, and you can store the result in a variable.
- Arithmetic operators include +, -, *, /, %, and **.
- Comparison operators include ==, !=, <, >, <=, and >=.
- Logical operators are and, or, and not.