Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python generator cheat sheet download

>>> permutations('abc', 2)                   #   a  b  c
[('a', 'b'), ('a', 'c'),                     # a .  x  x
 ('b', 'a'), ('b', 'c'),                     # b x  .  x
 ('c', 'a'), ('c', 'b')]                     # c x  x  .
Source by gto76.github.io #
 
PREVIOUS NEXT
Tagged: #python #generator #cheat #sheet #download
ADD COMMENT
Topic
Name
8+8 =