Week 2 Unit 3: Self-test

Last updated: (05. April 2024)

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