I need help to know why inheritance isn't working in this OOP example

前端 未结 0 389
花落未央
花落未央 2021-01-30 01:44

I\'m getting the error "AttributeError: \'SavingsAccount\' object has no attribute \'_SavingsAccount__balance\'" when I run this program and I can\'t work out why. Th

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