Spaces:
Sleeping
Sleeping
Update app.py
Browse filesAmended the docstring in count_letter
app.py
CHANGED
@@ -13,8 +13,8 @@ def letter_count(letter:str, word:str)-> int: #it's import to specify the return
|
|
13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
14 |
"""A tool that counts the number of times a letter appears in a word
|
15 |
Args:
|
16 |
-
|
17 |
-
|
18 |
"""
|
19 |
return word.count(letter)
|
20 |
|
|
|
13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
14 |
"""A tool that counts the number of times a letter appears in a word
|
15 |
Args:
|
16 |
+
letter: the letter to count
|
17 |
+
word: the word that contains the letter
|
18 |
"""
|
19 |
return word.count(letter)
|
20 |
|