STEP 10: Great job! Now, let's have our sprite say the original price.

Remember, price is a float. To add it to a string, we need to cast it using str().

  • In LOGIC, click on and drag in Convert to String.
  • Change the my_var inside str() to price.
  • Change the my_var to the left of the = to price_string.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE