Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def listToNr(lst):
- if len(lst) == 0:
- return 0
- return lst[0] * (10 ** (len(lst) - 1)) + listToNr(lst[1:])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement