更新了0383.赎金信的python版本二13行

This commit is contained in:
Zihan Qiu
2024-09-02 09:24:26 -05:00
parent bdb0000d6d
commit f4e653d119
2 changed files with 1 additions and 1 deletions

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