If you look at the text... I don't know if I should use C's pointer grammar. I don't know, but...
class object():
def __init__(self, param):
self.x = param
p = None
a = object(4)
b = object(4)
print(a) #<__main__.object object at 0x03975AD8>
print(b) #<__main__.object object at 0x03BF5148>
if(a.x == b.x)x):
p = a
print(p) #<__main__.object object at 0x03975AD8>
p.x = 5
print(a.x) # 5
No matter how much you want to have sex, you can't have sex with Python.
Let's not overdo what we can't do. Python is having a hard time.
© 2024 OneMinuteCode. All rights reserved.