| 𝔎𝔫𝔦𝔤𝔥𝔱𝔪𝔞𝔯𝔢 https://www.greydoubt.com Mon, 02 Jan 2023 23:45:13 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.4 harp risers (wip) https://www.greydoubt.com/2023/01/02/harp-risers-wip/ Mon, 02 Jan 2023 23:42:23 +0000 https://www.greydoubt.com/?p=37

The post harp risers (wip) first appeared on 𝔎𝔫𝔦𝔤𝔥𝔱𝔪𝔞𝔯𝔢.

]]>
Generic Post 1 https://www.greydoubt.com/2023/01/02/14/ Mon, 02 Jan 2023 04:33:55 +0000 https://www.greydoubt.com/?p=14 Code:

The post Generic Post 1 first appeared on 𝔎𝔫𝔦𝔤𝔥𝔱𝔪𝔞𝔯𝔢.

]]>
Code:

>>> colors = ['black', 'white']
>>> sizes = ['S', 'M', 'L']
>>> tshirts = [(color, size) for color in colors for size in sizes]  1
>>> tshirts
[('black', 'S'), ('black', 'M'), ('black', 'L'), ('white', 'S'),
 ('white', 'M'), ('white', 'L')]
>>> for color in colors:  2
...     for size in sizes:
...         print((color, size))
...
('black', 'S')
('black', 'M')
('black', 'L')
('white', 'S')
('white', 'M')
('white', 'L')
>>> tshirts = [(color, size) for size in sizes      3
...                          for color in colors]
>>> tshirts
[('black', 'S'), ('white', 'S'), ('black', 'M'), ('white', 'M'),
 ('black', 'L'), ('white', 'L')]

The post Generic Post 1 first appeared on 𝔎𝔫𝔦𝔤𝔥𝔱𝔪𝔞𝔯𝔢.

]]>