greate python class code example
Example 1: class and object in python
#NOTES
class PartyAnimal:
def Party():
#blahblah
an=PartyAnimal()
an.Party()# this is same as 'PartyAnimal.Party(an)'
Example 2: how to use class's in python
class person:
name = "jake"
age = 13
x = vars(person)
print(x)