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

 

相关文章:

  • 2022-12-23
  • 2021-09-28
  • 2021-10-02
  • 2022-12-23
  • 2022-12-23
  • 2022-02-18
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-15
  • 2021-07-11
  • 2021-09-11
  • 2022-12-23
  • 2021-11-18
  • 2021-11-25
相关资源
相似解决方案