I understand programming in general, but not Python specific. However, it sounds like you're converting an integer variable to a string and trying to assign it to Output1. But Output1 doesn't accept strings, it only accepts floats. So you might need to convert the integer to a float rather than a string. In some languages, you don't need to convert it all because and integer is basically a float with all zeros after the number. i.e. int 1 = float 1.0. So maybe you don't have to convert it at all.