Commit cafb1ea
committed
🆕 新增查找目标值的Python示例代码
- 在`table.py`中新增了一个示例,展示如何在列表中查找目标值并输出其索引。
- 该示例使用了`enumerate`函数,增强了代码的实用性与可读性。1 parent ef645ac commit cafb1ea
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments