-
š
Python for Computational Techniques
ā¶
-
šŖ
Parachutist Problem
-
š¦
Data Types
ā¶
- š¢ int (integers)
- š¢ float (decimals)
- š str (strings)
- āā bool (True/False)
-
š¤
Variables & Operators
-
šØļø
Print & Output
ā¶
- š Basic print()
- š f-strings
- š Formatting numbers
-
š¬
Comments
-
š
Control Flow
ā¶
-
š
If / Else
ā¶
- ā if statement
- ā if-else
- ā if-elif-else
-
š
Loops
ā¶
- ā for loop
- ā while loop
- ā break & continue
-
š
Data Structures
ā¶
- š list
- š tuple
- š dict (dictionary)
- š set
-
š
Iterators
ā¶
- ā range()
- ā enumerate()
- ā zip()
-
āØļø
User Input
-
š§
Common Functions
ā¶
- ā len()
- ā sum()
- ā min() / max()
- ā sorted()
- ā abs() / round()
-
āļø
Defining Functions
ā¶
- ā def statement
- ā Parameters
- ā return values
-
š¢
NumPy Basics
ā¶
-
ā
Creating Arrays
ā¶
- ā np.array()
- ā np.zeros() / ones()
- ā np.linspace()
- ā np.arange()
-
ā”
Operations
ā¶
- ā Element-wise math
- ā sum, mean, std
- ā Indexing & slicing
-
ā ļø
Common Errors
ā¶
- ā TypeError
- ā NameError
- ā IndexError
- ā KeyError
- ā SyntaxError
Click ⶠto expand/collapse ⢠Hover on leaf nodes for details ⢠Click "Go to page" for full tutorial