Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def convert_to_10(*nums, base=19):
- return sum(
- [
- j * base ** i for i, j in enumerate(nums[::-1])
- ]
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement