arithmetic.py和下面程序要求在同一个文件夹下:
import arithmetic as ari x = 2 y = 3 print(ari.plus(x,y)) print(ari.multi(x,y))
输出:
5 6