Skip to content

Commit 5ed267c

Browse files
authored
Update 5-2.py
1 parent 16bea3d commit 5ed267c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapter05/5-2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@
3434
print("in true")
3535

3636
# 测试特定的值是否未包含在列表中
37-
if 'aaaai' in cars:
37+
if 'aaaai' not in cars:
3838
print("not in true")

0 commit comments

Comments
 (0)