This is what I have so far but I don\'t get why python won\'t let me run it nser
ID: 3773954 • Letter: T
Question
This is what I have so far but I don't get why python won't let me run it nsert Format Arrange View def -init (self) self book-0 def Add self,none,number) f book(none) def display(self) Print nametnumber") for k v n self book itens print k, "Vt' def find(self, name) f book keysO number of is" (self-book name])) print( none. is not found in the phone book.") p.AddK'sessi 10) Find C isco Python 3.5.2 Shell Python 3.5.2 (v3.5.2:4def2a29alas, Jun 26 2016 0:47:25) en darwin GCC 4.2.1 (Apple Inc. but credits" or "License()" for nore information copyright nainX) racebock (most ent call last) ine 1, in module main() File Aisershesen shokorchi Documents lab9.py line 17, is defined MacBook Air
Explanation / Answer
So that was nice try, but the code and error message are not clearly visible.
I'm providng the simple python code for phone book operation below :
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.