Python By Code
Wednesday, October 28, 2015
generate permutations of [1,2,3]
import itertools
print list(itertools.permutations([1,2,3]))
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment