class Thing(object):
theyre = True
their = False
there = True
def __init__(self,b,bb,bbb):
self.theyre = b
self.their = bb
self.there = bbb
b=Thing.theyre
bb=Thing.their
bbb=Thing.there
def align(self):
self.theyre=Thing.theyre
self.there=Thing.there
self.their=Thing.their
def propagate(self):
Thing.theyre=self.theyre
Thing.there=self.there
Thing.their=self.their
def disp(self):
return(self.theyre,self.their,self.there)
def classdisp(self):
return(Thing.theyre,Thing.their,Thing.there)
def WOAHMYSTERYFUNCTION(self):
self.theyre = bool(self.there+1-Thing.there)
self.theyre = bool((Thing.there+self.theyre)*self.theyre)
self.there = bool(self.their%(Thing.theyre+5))
self.their = Thing.theyre-1+self.theyre
def main():
theyre=False
their=False
there=True
x=Thing(theyre,their,there)
y=Thing(theyre,their,not there)
z=Thing(not there or there and not there, not their, theyre)
print("1. x: ", x.disp())
print("2. y: ", y.disp())
print("3. z: ", z.disp())
z.disp()
x.WOAHMYSTERYFUNCTION()
print("4. x: ", x.disp())
y.WOAHMYSTERYFUNCTION()
y.propagate()
print("5. y: ", y.disp())
z.align()
z.WOAHMYSTERYFUNCTION()
print("6. z: ", z.disp())
z.WOAHMYSTERYFUNCTION()
print("7. z: ", z.disp())
z.propagate()
print("8. y: ", y.disp())
x.propagate()
print("9. x: ", z.disp())
x.WOAHMYSTERYFUNCTION()
print("10. x: ", x.disp())
if __name__ == '__main__': main()
glhf.py
Blogs > petergibbons |
pyaar
United States423 Posts
| ||
TheAbysCries
Australia41 Posts
Yea um.....im gonna pass on trying to work this out. glhf to others | ||
writer22816
United States5775 Posts
| ||
ArcticVanguard
United States450 Posts
| ||
| ||