# Name :- vinayak parab

a = 3.14
print(type(a))
print(type(int(a)))

str = "vinayak parab"
print(str)
print(str[2])
print(str[-2])
print(str[-8:-5])

# pemdas :- parenthesis, exponents, multiplication, division, addition, subtraction.
pemdas = 2*int(3)*4*int(3**2)+13-4
print(pemdas)

# list and tuple
# list are mutable and tuple is not mutable
#list represent in sqr brackets []
#tuple represent in round brackets ()

list1 = [[12, 16], 1, 18, 'vinayak', 'parab']
print(list1)
print(list1[0])
print(list1[0][1])
list1[3] = 999
print(list1)

tuple = (1,2,3,4)
print(tuple)
"tuple[0] = 999     #its give error because tuple its not mutable"
stre = 'hello everyone'
print(stre[0:6])
print(stre[-8:])
