Hello,
I am currently on Section 8 (modules) of the Python course. I was following along on the code that Mosh has written, but mine shows that I have an error. The error remained after I watched all the videos in the section, so I reverted it back to one of the earlier codes so that I could more easily find the problem. However, I could not fix it, could someone take a look for me?
The problem:
Even though I defined the attributes “calc_tax” and “calc_shipping”, my code tells me that the module does not have these two, thus showing an AttributeError. I am kind of confused about what is wrong, as I thought that I had followed exactly along to the videos. I attached a few images of my work:
(sorry for the blurry picture, I couldn’t add more than one to the post ; if anyone needs a clearer picture I can send one through the replies)
Thank you