[問題] 無法列印出來

看板Python作者 (hungry1212)時間9年前 (2016/11/06 17:28), 編輯推噓1(103)
留言4則, 4人參與, 最新討論串1/1
http://imgur.com/EbpV6xO
這是我按照書上打的 可是出現AttributeError: 'robot' object has no attribute 'does' 想請問怎麼解決... -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.239.224.162 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1478424539.A.B59.html

11/06 17:29, , 1F
因為你的 robot 只有 dose ......
11/06 17:29, 1F

11/06 17:32, , 2F
typo, class 裏面的 method 打錯字了, dose -> does
11/06 17:32, 2F

11/06 17:48, , 3F
....我QQ
11/06 17:48, 3F

11/06 21:57, , 4F
該看眼科囉XDD
11/06 21:57, 4F
文章代碼(AID): #1O7lVRjP (Python)
文章代碼(AID): #1O7lVRjP (Python)