Question 1
What is the value of variable x
after the following statements have been executed?
1
❌
4
❌
3
✅
2
❌
Question 2
What is the value of list1
after the following statements have been executed?
[1, 2, 3, 1, 2, 3, 1, 2, 3]
✅
[1, 1, 1, 2, 2, 2, 3, 3, 3]
❌
[1, 2, 3]
❌
[3, 1, 2, 3, 1, 2, 3, 1, 2]
❌
< Previous unit | Next unit > |
Course Overview