Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
nnnn
a = int(input()) b= int(input()) if a < 0 and b > 0 and a + b > 0: b += 1 print(a+b) elif a > 0 and b < 0 and a+b < 0: b += -1 print(a+b) else: print(a+b)
run
|
edit
|
history
|
help
0
InsertionSort
yield from example
P
Butch
Python.py
Prime Factorization of a Number
test3.py
find minimum in right sorted array
Which Premier League match should I watch?
Python