Traceback (most recent call last):
File “script.py”, line 39, in
CocoaPercent.append(int(percent))
ValueError: invalid literal for int() with base 10: ‘73.5’
From my understanding of int it should return 74? but all the floats are returning this error in the cocoa data science exercise. What’s going wrong?