Receiving error in project when converting a string thats a float to int

Traceback (most recent call last):
File “”, line 39, in
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?

I think double checking the docs would be useful here regarding passing non-numeric types and the truncation of floating point values-

I did some prints of different floats. I can see now. But its working when I’m passing a float in the same lesson environment but when its a string from Beautiful Soup once it hits a float it gives me this error. And I’m slightly stupid so the documentation didn’t provide any help for this for me anyways. It’s probably because I have a hard time deciphering it. Plus I can’t see anything in regards to strings that would tell me why. Not to mention I am using the same code as the hint although sometimes the hints leave some details out.

Anyways I just searched in the project help and found the solution something I already tried I thought. A lot to learn.