1) Which statement is a correct syntax to break out of a loop? a) end b) return c) break d) stop 2) Which statement should be used to print i as long as i is less than 6  a) while i > 6: b) for i<6: c) for i > 6:  d) while i<6: 3) Which statement should be used to Stop the loop if i is 3. a) continue b) break c) else d) end 4) Which statement should be used to print a message once the condition is false. a) else b) continue c) break d) end 5) In the loop, when the item value is "banana", jump directly to the next item. we use Which statement? a) break b) else c) continue d) end

על ידי

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

סגנון חזותי

אפשרויות

החלף תבנית

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