STEP 10: The parameter value of time is 7. We can change the time by changing the second parameter value.

Remember, str() let's us combine a string and an integer.

  • 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".


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)