Python基本使用

test.pypython def addnum(a,b): return a+b ceshi.pycode import test a=raw_input("please input a:") b=raw_input("please input b:") c=test.addnum(int(a),int(b)) print "a+b=",c 運行結果:blog
相關文章
相關標籤/搜索