只是想创建一个元组来添加我的主要编程。无论如何,这是我的代码-
print"I have a few things to finish my exam, but i might need more"
exam=("Brain","Computer","python")
print "The stuff i have are:"
for stuff in exam:
print stuff
print"I still need my previous assignments!"
extra=("Assignments")
exam += extra
for stuff in exam:
print stuff
我不断收到只能连接元组错误。任何人都知道我的问题/如何解决它?非常感激。