Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a=int(input("Введите число: "))
- b=int(a+1)
- с=int(a-1)
- print("The next number for the number "(a) is (b))
- print("The previous number for the number "(a) is (c))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement