Two numbers input from the keyboard, and seeking and outputs thereof

The title reading request two integers A and B, and then output them.

Input formats:

In a given row summand
give an addend in another row

Output formats:

And output values ​​in a row.

Sample input:

Here we are given a set of inputs. E.g:

18
-48
 

Sample output:

Given here corresponding output. E.g:

-30
A=int(input())
B=int(input())
print(A+B)

  

Guess you like

Origin www.cnblogs.com/SkystarX/p/12175554.html