A. Break ends the loop, ignoring the loop condition Break ends the loop, ignoring all further statements Continue goes back to the start of the loop D. All of the above
A. [1,2,3] B. [0,1,2,3] C. [0,1,2] D. [1,2]
A. [0,2,4] B. [2,3,4,5] C. [2,3,4] D. [2,4]
A. [0,8,16] B. [1,9,17] C. [0,8,16,24] D. [1,9,17,25]
A. 2 B. 4 C. 6 D. 8 E. 10 F. Index out of bounds error
A. [x for x in arr if x%2==0 in arr] B. [2*x for x in arr if x<6 in arr] C. Both are correct