Python-Basics
bool()
type(True)
my_str = "siddy"
print(my_str.isalnum())
print(my_str.isupper())
my_str='sid123'
my_str.isalnum()
type([])
list = ['mathematics',100,10,20,122,230]
print(list)
list[:]
# 100 to 230
list[1:]
list[1:5] # left is the same index and right is index we want+1
print(list)
list.insert(1,"saxena")
print(list)
list2 = [1,2,3,4,5]
print(list2)
list2.extend([6,7])
list2
sum(list2)
list2.pop()
list2.count(2)
list2.index(2,1,4)
print(min(list2))
print(max(list2))
list2*2