x=1 y=2 print x+y字符串相加 print (int(x)+int(y)) 数字相加 python3.0版本后用input替换了raw_input 转载于:https://www.cnblogs.com/whutqueqiaoxian/p/9276727.html