I am creating a program that reads a file and if the first line of the file is not blank, it reads the next four lines. Calculations are performed on those lines and then t
I found a work around. Python will convert the number to a float. Simply calling float first then converting that to an int will work:
output = int(float(input))