Skip to content

Commit ecced4b

Browse files
authored
Merge pull request #5 from Li-XW707/patch-2
Update 5-2.py
2 parents 0c328b8 + 5ed267c commit ecced4b

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)