Python Basics Notes
Python Basics Notes
- Setting up the environment: Install Python, use IDE like VS Code, PyCharm.
- Data Types: int, float, str, bool, list, tuple, dict, set.
Python Input/Output:
Python Operators:
- Arithmetic: +, -, *, /, //, %, **
Python Loops:
- Creating: [1, 2, 3]
- Accessing: list[0]
- Accessing: dict['a']
Python Functions:
- Calling: func()
- Modes: r, w, a, b