Fixed line of code

Removed one unnecessary conversion to float from second exercise's code