What is the difference between "pass" and "break" commands in Python? Suppose you have a for loop nested inside a while loop, and you use "break" inside the for loop. Would the while loop continue running after the break or not?
If you wanted to find the first occurrence of number 1 in an array of numbers, how would you use the break to make your code faster? What if you wanted to find the last occurrence of 1 in the array on the right-most part of the array - could you still use break to speed up your code?