[問題] 新手return的問題

作者: matthewkai (kai)   2016-10-29 21:54:29


各位神人大大,新手在下在讀書的時候圖片中圈起來那行我試了好幾次都是syntax error
,好像是後方color的問題,但是該怎麼解決呢?如果打 ,color會變成tuple的樣子,但
是書上寫打入引數'blue',會return
I've never heard of the color blue.
照書上意思不是要顯示出tuple的形式
感謝各位神人回覆!
作者: sky800507 (B翰)   2016-10-29 22:00:00
少+號
作者: matthewkai (kai)   2016-10-29 22:10:00
sky大大,是後方color前加+號嗎?可是還是syntax error@@感謝大大,我用出來了!

Links booklink

Contact Us: admin [ a t ] ucptt.com