class and object in python
#NOTES
class PartyAnimal:
def Party():
#blahblah
an=PartyAnimal()
an.Party()# this is same as 'PartyAnimal.Party(an)'
class and object in python
#NOTES
class PartyAnimal:
def Party():
#blahblah
an=PartyAnimal()
an.Party()# this is same as 'PartyAnimal.Party(an)'
python instance Object
x.counter = 1
while x.counter < 10:
x.counter = x.counter * 2
print(x.counter)
del x.counter
#https://docs.python.org/3.8/tutorial/classes.html#class-objects
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us