Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- On the other hand, a name can be bound to no object (a dangling pointer),
- one object (the usual case), or several objects (a parameter name in a
- recursive function).
- x = 0
- def f(y):
- global x
- x += 1
- if x < 4 :
- y +=100
- f(y)
- else: return
- f(100)
Add Comment
Please, Sign In to add comment