PASO 10: El valor del time es 7 . Podemos cambiar la hora cambiando el segundo argumento en la llamada a la función.

El comando str() convierte un número en una cadena, permitiéndonos combinar cadenas y enteros. Esto se llama fundición .

  • Cambie la cadena en el .Text() a "Party starts at " + str( time ) .
  • Cambie la coordenada x a 0 y la coordenada y a 150 .
  • Cambia el color a "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
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)