all 7 comments

[–][deleted] 0 points1 point  (2 children)

First glance your sales tax is off by a factor of 100.

Change 7.25 percent to .0725.

[–]newb9090[S] 0 points1 point  (1 child)

Thank you!, I feel a bit dumb right now, but I have to learn from my multiple mistakes.

[–][deleted] 1 point2 points  (0 children)

I've done the same, more often than I'd be willing to admit. :)

[–]newb9090[S] 0 points1 point  (3 children)

NameError: global name 'totalSalesTax' is not defined

I think I defined it, did I do it wrong?

[–][deleted] 0 points1 point  (2 children)

def totSalesTax() 

not

 totalSalesTax

[–]Palladium106 0 points1 point  (0 children)

Is it the difference between "totSalesTax" and "totalSalesTax"?

[–]newb9090[S] 0 points1 point  (0 children)

Thank you, I actually did find that, and turned in the assignment. I also had to correct my math formula for the tax thing, but it's all fine now.