Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = int(input())
- print("The next number for the number %d is %d." % (n, n+1))
- print("The previous number for the number %d is %d." % (n, n-1))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement