[10,9,8,7,6,5,4,3,2,1]
- reversed(list(range(1,11)))
- list(reversed(range(1,10)))
- list(range(10,1,-1))
- list(reversed(range(1,11)))
Correct Answer:
- list(reversed(range(1,11)))
Which command will create a list from 10 down to 1? Example:
[10,9,8,7,6,5,4,3,2,1]
Correct Answer:
Latest Updates
No posts found in this category.