mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Added flip function.
This commit is contained in:
parent
a6f8ddab18
commit
b7cb48b19b
@ -260,4 +260,7 @@ def partition(p, L):
|
|||||||
no.append(elt)
|
no.append(elt)
|
||||||
return (yes, no)
|
return (yes, no)
|
||||||
|
|
||||||
|
def flip((x, y)):
|
||||||
|
return (y, x)
|
||||||
|
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||||
|
Loading…
Reference in New Issue
Block a user