The if f >= 0 could be have been accessed even though f had not been assigned (if float(l) failed)
Attach a file by drag & drop or click to upload