I'm currently doing the 1st task of this Virtual Internship and I've rewritten the whole of client3.py. However when I try to run it, I get a KeyError relating to 'top bid'. I'm not sure what I've missed or done wrong to get this kind of error, but I'd be grateful if someone could explain how and why this error is happening. Here is the code and the console to understand the issue:
Hey guys,
I'm currently doing the 1st task of this Virtual Internship and I've rewritten the whole of client3.py. However when I try to run it, I get a KeyError relating to 'top bid'. I'm not sure what I've missed or done wrong to get this kind of error, but I'd be grateful if someone could explain how and why this error is happening. Here is the code and the console to understand the issue: