This commit is contained in:
krahets
2023-08-06 23:19:37 +08:00
parent c14ca74b8b
commit 4bc6b8af7b
8 changed files with 25 additions and 26 deletions

View File

@@ -30,8 +30,8 @@
```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"