1 a = 2 2 def b(): 3 a = 3 4 print id(a) 5 class c(): 6 def __init__(self): 7 print id(c) 8 d =c() 9 print id(d) 10 print d
时间: 2024-10-09 19:14:29
1 a = 2 2 def b(): 3 a = 3 4 print id(a) 5 class c(): 6 def __init__(self): 7 print id(c) 8 d =c() 9 print id(d) 10 print d