Python Functions Explained Notes Fixed
Python Functions Explained Notes Fixed
1. Built-in Functions
2. List Methods
3. Type Conversion
4. Useful Operators
- + : Addition / Concatenation
- - : Subtraction
- / : Division
- % : Modulus (remainder)
- ** : Exponent (power)
Example: 2 ** 3 -> 8
Example:
print("Adult")
print("Just adult")
else:
print("Child")
i = 0
while i < 3:
print(i)
i += 1