更新 0383.赎金信.md Python版本六

原代码块语言为python3,代码随想录网站无法正常渲染,改为python
This commit is contained in:
Yao Zu
2024-01-16 20:52:46 +08:00
committed by GitHub
parent 9928779dcf
commit 480d0d1f28

View File

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