Skip to content

Commit 5ea176f

Browse files
committed
Update sublist.py
1 parent 88c72d9 commit 5ea176f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sublist/sublist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def sublist(list_one: list, list_two: list) -> str:
3838
len2: int = len(list_two)
3939

4040
if len1 == len2:
41-
if list_one is list_two or list_one == list_two:
41+
if list_one == list_two:
4242
return EQUAL
4343
return UNEQUAL
4444

0 commit comments

Comments
 (0)