1. Which of the following is the correct syntax for an if statement in Python?, A. if (x > 10) then:, B. if x > 10:, C. if x > 10 then:, D. if x > 10 {}, Which keyword is used to execute a block of code repeatedly in Python?, A. repeat, B. loop, C. while, D. iterate, Which of the following loop stops only when a condition becomes False?, for loop, B. while loop, C. do-while loop, D. repeat-until loop, Answer: B, What is the purpose of the break statement in loops?, Skip one iteration, B. Exit the loop completely, What does the continue statement do in a loop?, Exits the loop completely, B. Skips the current iteration and moves to the next.

על ידי

לוח תוצאות מובילות

סגנון חזותי

אפשרויות

החלף תבנית

האם לשחזר את הנתונים שנשמרו באופן אוטומטי: ?