Skip to content

Commit

Permalink
+ Added test for reversed()
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Iversen committed Jan 15, 2012
1 parent 669e7d0 commit 4c8c05c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/builtin/reversed.py
@@ -0,0 +1,7 @@

x = [1,2,3,4,5,6,7,8,9,10]

print list(reversed(x))

for q in reversed(x):
print q

0 comments on commit 4c8c05c

Please sign in to comment.