Skip to content

Commit 3ae61e5

Browse files
committed
tuple 下标写错
1 parent 0d8a932 commit 3ae61e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python基础/list_tuple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,5 @@
6565

6666
t = ('a', 'b', ['A', 'B'])
6767
t[2][0] = 'M'
68-
t[2][2] = 'N'
68+
t[2][1] = 'N'
6969
t # ('a', 'b', ['M', 'B'])

0 commit comments

Comments
 (0)