Methods in Python
We earlier learned about various data types in Python such as int,float, and str. We also learned about other data structures such as lists. When we create a variable with an integer value, or a list with some elements, what we are actually creating is a python object of that type.
1# a is a python object of type integer
2a = 15
3# b is a python object of type string
4b = 