Ints and Floats when doing math operations

When the teacher was talking about the division of int and int, he said to change both to floats. While you can do that, you only need to change one of them to a float and it will always return a float. I learned this a few days ago when I was watching a MIT lecture on computer sciences and using Python. It works the same.

Privacy & Terms