Merge pull request #2717 from qiuzan2001/master

更新了0383.赎金信的python版本二13行
This commit is contained in:
程序员Carl 2024-09-10 10:07:30 +08:00 committed by GitHub
commit 03eb8834ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -176,7 +176,7 @@ class Solution:
for x in ransomNote:
value = hashmap.get(x)
if not value or not value:
if not value:
return False
else:
hashmap[x] -= 1