How to Get Rid of the Decimal Place Here?


You set big_string to: the product was 10.0 when it should be “The product was 10”.
yet I tried str and that is the only conversion it will allow. and i can not get rid of the .0

Why does my code give a TypeError when I press Run?

You need to convert product to an integer first since it is in the float format. This is done by nesting the int conversion within the str conversion.