📜  python代码示例中的实例变量是什么

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

代码示例2
class Car:    
  wheels = 4    # <- Class variable    
  
  def __init__(self, name):        
      self.name = name    # <- Instance variable