How to convert a string to float, the coding is not working

image

Hi @linda_hhy and welcome to the community,
You can find the ansewer this post
https://community.dataquest.io/t/python-fundamentals-guided-project/171480/2?u=bahmed21