a = int(input("Введите число: "))
if a>0:
print(a+1)
else:
print(a-2)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
a = int(input("Введите число: "))
if a>0:
print(a+1)
else:
print(a-2)