1.
- [20, 30, 40, 50, 60, 70, 10]
- [10, 20, 30, 40, 50, 60, 70]
- [10, 10, 20, 30, 40, 50, 60]
- [70, 10, 10, 10, 10, 10, 10]
- [10, 10, 10, 10, 10, 10, 10]
Q45: What are the contents of list alpha after this code has been executed?
alpha = [10, 20, 30, 40, 50, 60, 70]
start = alpha[-1]
for i in range(1, len(alpha)):
alpha[i] = alpha[i-1]
alpha[0] = start