Skip to content

Commit 6443f96

Browse files
Update 771. Jewels and Stones.py
1 parent d378e3b commit 6443f96

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

python/easy/771. Jewels and Stones.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
class Solution:
2-
```
3-
numJewelsInStone counts the number of jewels that are also stones
4-
jewels: string
5-
stones: string
6-
```
72
def numJewelsInStones(self, jewels: str, stones: str) -> int:
3+
```
4+
numJewelsInStone counts the number of jewels that are also stones
5+
jewels: string
6+
stones: string
7+
```
88
jewels_list = list(jewels)
99
stones_list = list(stones)
1010
jewel_count = 0

0 commit comments

Comments
 (0)