📜  python instance Object - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:07.876000             🧑  作者: Mango

代码示例1
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