Lesson 3

Leave a comment
Hi Anthony,

Did you see all my other notes as above? There were three primary issues I was able to identify. Probably the most egregious right now are the comparisons. I can see you trying to use the shorthand form but you've got your variable in the wrong place. As I pointed out above, you're effectively comparing the middle number against the two on the outsides (`lowerbound <= comparison <= upperbound` or `100 <= x <= 200`) I think the wrong interest rate is being selected. Alternately, you could use the long form `x >= 100 and x <= 200`

You could run your code with `python -i` and check `R` to make sure the correct rate is chosen.

I also still see you using floats instead of decimals.