Question #219

Author: admin
tags: Python  
class Planet():
    galaxy = 'Milky Way'
    def __init__(self) -> None:
        self.galaxy = 'Andromeda'

mars = Planet()

del mars.galaxy
print(mars.galaxy) # ??
What will be printed?
Andromeda
Milky Way
AttributeError: 'Planet' object has no attribute 'galaxy'
Rate the difficulty of the question:
easyhard