A for loop is used when:, We want to run the code only once, The repetition depends on a condition, The number of repetitions is unknown, The number of repetitions is known, . In programming, a function means:, Creating new variablesCreating new variables, Storing data, Repeating code, A tool to perform a specific task, The code inside a function must be:, Inside parentheses, Written with indentation, Without indentation, Written after a semicolon (;), The key word "def" is used for:, Creating a variable, Creating a loop, Defining a function, Printing text, A while loop continues to execute as long as:, The number of repetitions is known, The condition is true, The number of repetitions = 0, The condition is false.

Classifica

Stile di visualizzazione

Opzioni

Cambia modello

Ripristinare il titolo salvato automaticamente: ?