STEP 10: The value of time is 7. We can change the time by changing the second argument in the function call.

The str() command turns a number into a string, letting us combine strings and integers. This is called casting.

  • Change the string in the .Text() command to "Party starts at " + str(time).
  • Change the x-coordinate to 0 and the y-coordinate to 150.
  • Change the color to "green".

# THIS ACTIVITY IS IN PREVIEW ONLY MODE