I'm not able to set value to class variable in parent class but able to print it.It is saying attribute doesn't exist even when i am able to print it.
CODE:
class Base(object):
x=20
class Derived(Base):
def __init__(self):
print(super().x)
super().x=80
obj=Derived()