Merge pull request #2417 from spacexim/patch-1
更新 0383.赎金信.md Python版本六
This commit is contained in:
commit
ff6ba6f7ac
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue