PASO 7: Configuremos la primera respuesta de Tim el mago.

    • Cambie la cadena en .say() a "Definitely!" .
    • Pruebe su declaración if haciendo clic en ¡Corre y hazle una pregunta a Tim!
    • Si rand_answer es igual a 1 , Tim debería decir "Definitely!" . Si rand_answer no es 1 , entonces no dirá nada.
    • Ejecute el programa varias veces hasta rand_answer igual a 1 y Tim diga “Definitely!” .

    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)