SHARE
TWEET

next version

a guest Feb 16th, 2020 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. nums_list = [digit for digit in input().split(".")]
  2. number = ""
  3. for num in nums_list:
  4.     number += num
  5. print(".".join([digit for digit in str(int(number) + 1)]))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top