本人刚学python,想用python做个小计算,在此写一段MATLAB小程序;请问用python怎么实现?

2025-04-05 06:28:04
推荐回答(1个)
回答1:

def call1(x,y):
return x+y
def calculation():
x=1;
y=1
cal = x+y+call1(x,y)
print(cal)
calculation()