Merge pull request #2417 from spacexim/patch-1

更新 0383.赎金信.md Python版本六
This commit is contained in:
程序员Carl
2024-02-01 10:22:36 +08:00
committed by GitHub

View File

@ -216,7 +216,7 @@ class Solution:
(版本六使用count(简单易懂) (版本六使用count(简单易懂)
```python3 ```python
class Solution: class Solution:
def canConstruct(self, ransomNote: str, magazine: str) -> bool: def canConstruct(self, ransomNote: str, magazine: str) -> bool:
for char in ransomNote: for char in ransomNote: