Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

question: 2 if we write an if statement and the condition is false, wha…

Question

question: 2
if we write an if statement and the condition is false, what does tracy do?
the code stops running
tracy gives us an error
tracy completes the indented code
tracy skips the commands under the if statement

Explanation:

Brief Explanations

En la programación, cuando una condición en una estructura if es falsa, el código dentro del bloque if no se ejecuta. Tracy saltará los comandos dentro del if statement.

Answer:

Tracy skips the commands under the if statement