Using 2to3 for a pre-screening and reformatting, then fix the float division problem by changing all / to //. Also, a bug related to string processing is fixed, where split('\r\n')[0] method is replaced with strip('\n').
Demo script has passed test under following environments:
Using 2to3 for a pre-screening and reformatting, then fix the float division problem by changing all
/
to//
. Also, a bug related to string processing is fixed, wheresplit('\r\n')[0]
method is replaced withstrip('\n')
.Demo script has passed test under following environments: