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.
Calculator
Select fruits
Python3 - PDF PAGES SEPARATION
linked_lists
gj
Code hello world
Ex_039.py
Contact Class 2.0
reduce lambda
LinkedNode and its use in Stack and Queue implementation
Please log in to post a comment.