I believe I got past this part of the lesson previously, but had issues further on that I could not move past. Even though support said my code was correct, I could not proceed.
I have returned in hopes that things might go more smoothly and I’m getting stuck at 9/14 once again (even though I got past this last time).
I’ve tried several ways to satisfy the program. One issue seems to be that we are asked “What datatype is it?” But we haven’t covered this in the lesson thus far – even though the answer should be clear, we don’t have instructions on how to print “type” or “datatype.”
Here is the latest iteration of my code:
cucumbers = 2 price_per_cucumber = 3.25 total_cost = cucumbers * price_per_cucumber print total_cost print type(total_cost)
This code does produce the results:
However I get an error message:
Use print to print total_cost.
What is wrong with my code?
What am I doing wrong?