0
inheritance
why my code doesn't work https://code.sololearn.com/cIcktjl66g43
1 Odpowiedź
+ 1
the problem is on line 13
print("The dates can be represented as :\n{}/{}/{}".format(self.dd,self.mm,self.yyyy))
you forgot to prefix your variables names with 'self.'
to refer to the superclass it's better to use super() instead of the superclass name
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2469/