print(tabby_cat)
print(persian_cat)
print(backslash_cat)
print(fat_cat)
print( "tabby_cat" )
print( "persian_cat" )
print( "backslash_cat" )
print( "fat_cat" )

习题十中遇到的一个问题,按照块二的内容输出后是字符串,倒着读查找问题发现是“引号”的问题,去掉“ "如块一问题就解决了。

仔细:字符拼写,标点符号,空格都可能引起错误导致编译出现问题。

查错:倒着读,避免大脑跟着代码走。

耐心:始终保持耐心,思考怎样解决问题而不是想着放弃。

 

 posted on 2020-04-03 17:27  yi'duo'yun  阅读(130)  评论(0编辑  收藏  举报