Python:TypeError:无法连接‘str’和‘int’对象
a = raw_input("Enter a: ")b = raw_input("Enter b: ")print "a + b as strings: " + a + b a = int(a)b = int(b)c = a + b str(c)print "a + b as integers: " + c
Python: TypeError: cannot concatenate 'str' and 'int' objects
喵喔喔
FFIVE
繁花如伊
相关分类