Junior — Senior
What result will the code with name mangling produce?
livecode
Task condition
Determine what output will be obtained when executing the provided Python code snippet demonstrating the "name mangling" mechanism in classes.
_MangledGlobal__mangled = "A"
class MangledGlobal:
def test(self):
return self.__mangled
assert MangledGlobal().test() == "A"