Skip to content Skip to sidebar Skip to footer

Script Printing All Zeros

For some reason, my script is printing every value as zero even though the lists contain non-zero numbers: #this is the specific part of my script, A, T, G % C are 4 lists that con

Solution 1:

3/100 is 0 in python (integers are rounded down), try 3.0/100 instead which will use floating point numbers.


Post a Comment for "Script Printing All Zeros"