I was following along with a Python Coursera course on beginning Python and one of the test modules asked us to do some simple division. While coding the practice portion I noticed a strange thing that happened with Python division that seems to indicate a problem with how Python handles simple division.
When I try to get the result of (243 * 0.65) in Python, I seem to get an incorrect answer. The answer seems like it should be 157.95 but the answer that Python returned is 157.95000000000002.
The same thing happens when I tried (298 * 0.65), but not when I try (325 * 0.65).
Now this is probably because I am completely new to Python and I have done something strange, or I have misunderstood something, but it is just a simple, one line, division statement.
Can anyone explain this to me?