AttributeError: 'Student' object has no attribute 'enrolled_in' in Python

前端 未结 0 1734
情深已故
情深已故 2020-12-22 12:22
class Student:
  def __init__(self,first,last,id):
    self._first_name = first
    self._last_name = last
    self._id_number = id
    self._enrolled_in = []

  def         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题