Ptaaq

Untitled

Jun 5th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. x = 0
  2. k = 0
  3. def funkcja(x, k):
  4. if x<1:
  5. k = k
  6. else:
  7. k = k + 5
  8. x = x + 1
  9. return [x,k]
  10. a = funkcja(x,k)
  11. x = a[0]
  12. k = a[1]
  13. a = funkcja(x,k)
  14. x = a[0]
  15. k = a[1]
Advertisement
Add Comment
Please, Sign In to add comment