python class this code example
Example 1: what is an object in python
#objects are collections of data
Example 2: class and object in python
#NOTES
class PartyAnimal:
def Party():
#blahblah
an=PartyAnimal()
an.Party()# this is same as 'PartyAnimal.Party(an)'