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
Country Flags
9th jan quiz2
sensi cod
Stk String replace
cod
test
emoji
lab00.py
SceneGraph Interviewee Task
Prime Numbers :-> Sieve of Eratosthenes