Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
nnn
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
Python.py
function and doc string
Iterator-1
JV
Prime Numbers : -> Conventional Method
binary
PyRegFlags
Insertion sort
rectangle perimiter
reduce lambda