Nov-02-2020, 11:11 PM
I don't understand the logic you're doing in the final section.
At line 53, you run the section only if damages is already a float. I would imagine if it's already a float you would want to leave it alone.
At line 56/57, if damages is set to some non-zero value, you change it to be a zero. Why?
In several places you say
At line 53, you run the section only if damages is already a float. I would imagine if it's already a float you would want to leave it alone.
At line 56/57, if damages is set to some non-zero value, you change it to be a zero. Why?
In several places you say
int('0')
. Why not just say 0
instead?