Spocoman

02. Next Version

Feb 11th, 2022 (edited)
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. version = input().replace('.', '')
  2.  
  3. new_version = list(str(int(version) + 1))
  4.  
  5. print('.'.join(new_version))
  6.  
  7.  
Add Comment
Please, Sign In to add comment