Advertisement
zhukov000

Untitled

Dec 23rd, 2019
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. n = int(input())
  2. print("The next number for the number %d is %d." % (n, n+1))
  3. print("The previous number for the number %d is %d." % (n, n-1))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement