forked from Rust-related/RustPython
5 lines
108 B
Python
5 lines
108 B
Python
assert list(reversed(range(5))) == [4, 3, 2, 1, 0]
|
|
|
|
l = [5,4,3,2,1]
|
|
assert list(reversed(l)) == [1,2,3,4,5]
|