You are on page 1of 1

List Functions

Pop()
Count()
Append()
Insert()

Variable Type – Tuple


Suppose, a=(1,3,4,”b”)
We can not change tuple data,it is fixed.

Dictionary

My_dict={“Name” : “Bhavana” , “Age” : “23”}

How to do slicing?
>>> my_dict = {"Name" : ["Abc" , "CDE"], "Age" : ["22", "20"]}

>>> my_dict["Name"][1]

o/p-> 'CDE'

You might also like