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
相关文章
相关标签/搜索