My code isn’t working and I’m not quite sure why. Was wondering what I’m doing wrong
here’s what I wrote:
float_1 = 0.25
float_2 = 40.0
product = float_1*float_2
big_string = “The product was” + str(product)""
My code isn’t working and I’m not quite sure why. Was wondering what I’m doing wrong
here’s what I wrote:
float_1 = 0.25
float_2 = 40.0
product = float_1*float_2
big_string = “The product was” + str(product)""
You set big_string
to: The product was10.0 when it should be "The product was 10"
.
Try adding a space between “was” and “10.0”
thanks that fixed it!
No problem! Be sure to come back if you need any other help!
This topic was automatically closed 18 hours after the last reply. New replies are no longer allowed.