int_19h
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
1864 ms·
- 8221.▲
- 8222.▲
- 8223.▲
- 8224.▲
- 8225.▲
- 8226.▲
- 8227.▲
- 8228.▲
- 8229.▲
- 8230.▲
- 8231.▲
- 8232.▲
- 8233.▲
- 8234.▲
- 8235.▲
- 8236.▲
- 8237.▲
- 8238.▲
- 8239.▲
- 8240.▲
- 8241.▲
- 8242.▲
- 8243.▲
- 8244.▲
- 8245.▲
- 8246.▲
Python actually does this right for sequence comprehensions: >>> [f() for f in (lambda: x for x in range(10))]
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
List comprehensions have been around for longer, and so behave the way they do - 8247.▲
- 8248.▲
- 8249.▲
- 8250.▲
More ›