Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/Chapter 1/Question1_3/ChapQ1.3.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def isPermutation(s1, s2):
return False
else:
for char in s1:
if s2.find(char)==-1:
if char not in s2:
return False
else:
s2 = s2.replace(char,"",1)
Expand Down