a guest Feb 16th, 2020 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- nums_list = [digit for digit in input().split(".")]
- number = ""
- for num in nums_list:
- number += num
- print(".".join([digit for digit in str(int(number) + 1)]))
RAW Paste Data