Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def rec_increment(l, i = None):
- if i is None:
- i = len(l) - 1
- if i >= 0:
- rec_increment(l, i - 1)
- print(l[i] + 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement