Python Advanced Notes
1. List Methods
append(), insert(), remove(), pop(), sort()
2. Tuple
Immutable collection
t = (1,2,3)
3. Dictionary
key-value pairs
d = {"name":"Kartik","age":16}
4. Set
Unique values
s = {1,2,3}
5. String Functions
upper(), lower(), replace(), split()
6. File Handling
open(), read(), write(), close()
7. Exception Handling
try, except, finally
8. OOP Concepts
Class, Object, Constructor
9. Modules
import math, random
10. Lambda Function
x = lambda a : a*a
11. List Comprehension
[x*x for x in range(5)]
12. Useful Libraries
math, random, datetime
End of Advanced Notes