In Python Class 06
When C class also holds the value of x, then E.x should give result as 50 instead of 5 - isn’t it?
class C(A):
x = 50
pass
print(E.x)
print(E.mro)
In Python Class 06
When C class also holds the value of x, then E.x should give result as 50 instead of 5 - isn’t it?
class C(A):
x = 50
pass
print(E.x)
print(E.mro)