Python - Context Managers
What will be the output of this code?
class Context:
def __enter__(self):
print('Enter')
return 10
def __exit__(self, exc_type, exc_val, exc_tb):
print('Exit')
with Context() as value:
print(value * 2)