I failed this question on a test and I was wondering if someone could help me understand why. The question: Which names occur in the local scope?
a = 3
b = 6
def f(a):
c = a + b
return c
I answered a,b,c, but apparently it's just a and c. Why is b not 'occurring' in the local scope?