更新 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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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: