What will be the output of the following code?
def outer(): x = 10 def inner(): nonlocal x x += 5 return x return inner closure = outer() print(closure()) print(closure())
1520
1515
1015
55
This question is part of this quiz :