This commit is contained in:
krahets
2023-08-06 23:19:07 +08:00
parent fafdebb75c
commit 48adefba25
8 changed files with 136 additions and 33 deletions

View File

@@ -36,8 +36,8 @@ comments: true
```python title="array.py"
# 初始化数组
arr: List[int] = [0] * 5 # [ 0, 0, 0, 0, 0 ]
nums: List[int] = [1, 3, 2, 5, 4]
arr: list[int] = [0] * 5 # [ 0, 0, 0, 0, 0 ]
nums: list[int] = [1, 3, 2, 5, 4]
```
=== "Go"