PASO 9 : Recuerde, el tipo de datos de roll_2 es un integer . Tenemos que convertirlo en una string .

  • Vaya a LÓGICA, haga clic en y arrastre Convert to String . Suéltelo en la parte inferior de su programa.
  • Cambia la variable dentro de str() de my_var a roll_2 .
  • Cambie la variable a la izquierda de = de my_var a roll_2_string .

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)