images\ship.bmp没打进包
sum_2_num
def canshuo(): i = 10 p = 20 n = i + p print("打印所有参数之和 %d + %d =%d" %(i,p,n)) canshuo()
方法2;
def canshuo(i,p): n = i + p print("打印所有参数之和 %d " % n) canshuo(10,20)