Skip to content

Commit

Permalink
Added implementation for flip_vt.
Browse files Browse the repository at this point in the history
  • Loading branch information
johanlindberg committed Jul 26, 2011
1 parent 24619a6 commit 9aea9c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion s1.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@ def flip_vt(field):
>>> flip_vt([[1, 2, 3], [4, 5, 6], [7, 8, 9]])
[[7, 8, 9], [4, 5, 6], [1, 2, 3]]
>>> flip_vt(flip_vt([[1, 2, 3], [4, 5, 6], [7, 8, 9]]))
[[1, 2, 3], [4, 5, 6], [7, 8, 9]]
"""
pass
field.reverse()
return field

def flip_hz(field):
"""
Expand Down

0 comments on commit 9aea9c0

Please sign in to comment.