Home
Teaching
Projects
Wall of Fame
Blogs
On Air
Imprint
Privacy
Week 2 Unit 5: Self-test
Last updated: 3 days ago (11. April 2025)
Question 1
Which list is created by the following statement?
list(range(8))
[0, 1, 2, 3, 4, 5, 6, 7, 8]
❌
[1, 2, 3, 4, 5, 6, 7, 8]
❌
[1, 2, 3, 4, 5, 6, 7]
❌
[0, 1, 2, 3, 4, 5, 6, 7]
✅
Question 2
Which list is created by the following statement?
list(range(-3, 3, 3))
[-3, 0]
✅
[-3, 0, 3]
❌
[3, 0, -3]
❌
[0, 3]
❌
< Previous unit
|
Next unit >
|
Course Overview