作者matthewkai (kai)
看板Python
标题[问题] 新手return的问题
时间Sat Oct 29 21:54:29 2016
http://i.imgur.com/3ddBLgd.jpg
各位神人大大,新手在下在读书的时候图片中圈起来那行我试了好几次都是syntax error
,好像是後方color的问题,但是该怎麽解决呢?如果打 ,color会变成tuple的样子,但
是书上写打入引数'blue',会return
I've never heard of the color blue.
照书上意思不是要显示出tuple的形式
感谢各位神人回覆!
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 114.44.225.53
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Python/M.1477749271.A.4EC.html
1F:推 sky800507: 少+号 10/29 22:00
2F:→ matthewkai: sky大大,是後方color前加+号吗?可是还是syntax erro 10/29 22:10
3F:→ matthewkai: r@@ 10/29 22:10
4F:→ matthewkai: 感谢大大,我用出来了! 10/29 22:11