Guest User

Untitled

a guest
Jan 16th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. On the other hand, a name can be bound to no object (a dangling pointer),
  2. one object (the usual case), or several objects (a parameter name in a
  3. recursive function).
  4.  
  5. x = 0
  6. def f(y):
  7. global x
  8. x += 1
  9. if x < 4 :
  10. y +=100
  11. f(y)
  12.  
  13. else: return
  14. f(100)
Add Comment
Please, Sign In to add comment