如果要避免上面的情況發生的話,可以使用 get method 來存取值,此時如果key 不存在時,程式會回傳 None ,就不會回傳錯誤訊息了。 print(movie_1.get(" ...
確定! 回上一頁