-->
当前位置:首页 > 题库

PROGRAMMING:JMU Python simple four arithmetic operation

Luz5年前 (2021-05-10)题库379
This problem requires the preparation of procedures to calculate the sum, difference, product, quotient of two positive integers and output. Ensure that the input and output are all in the integer range.
###Input format:
Enter 2 positive integers a and B. Enter one data per row.
###Output format:
Output sum, difference, product and quotient in the order of "a operator, B = result" in 4 lines.
###Input example:
```in
eight
three
```
###Output example:
```out
8 + 3 = 11
8 - 3 = 5
8 * 3 = 24
8 / 3 = 2
```







answer:If there is no answer, please comment