fix 20230109

This commit is contained in:
2023-01-10 01:28:15 +08:00
parent cdc0582e1d
commit ad0267d685

View File

@@ -151,6 +151,7 @@ sum([i ** 2 for i in range(100) if i % 7 == 0])
```python [] ```python []
list(itertools.combinations([1,2,3,4], 3)) list(itertools.combinations([1,2,3,4], 3))
# [(1, 2, 3), (1, 2, 4), (1, 3, 4), (2, 3, 4)] # [(1, 2, 3), (1, 2, 4), (1, 3, 4), (2, 3, 4)]
```
Note: Note:
这题的解法其实也就一行就是4-8行的这个列表生成式那么列表生成式是什么捏。 这题的解法其实也就一行就是4-8行的这个列表生成式那么列表生成式是什么捏。
@@ -263,7 +264,7 @@ Note:
--- ---
## 提一嘴 C++ ## C++
```cpp [|4|6-7|9-12|14-18] ```cpp [|4|6-7|9-12|14-18]
#include <algorithm> #include <algorithm>