Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
Komalsri123
Lab_III_3_24_11_2020
binary
Bisection method
library
Hello world
Fu 1
Code hello world
Tuple_Exercise1_solution
Factorial
Please log in to post a comment.