21 lines
266 B
Python
21 lines
266 B
Python
#5.1.2
|
|
def jia(x,y):
|
|
a = x+y
|
|
return a
|
|
def jian(x,y):
|
|
a = x-y
|
|
return a
|
|
def chen(x,y):
|
|
a = x*y
|
|
return a
|
|
def chu(x,y):
|
|
a = x/y
|
|
return a
|
|
b = int(input())
|
|
c = int(input())
|
|
print(jia(b,c))
|
|
print(jian(b,c))
|
|
print(chen(b,c))
|
|
print(chu(b,c))
|
|
|