xa68 commited on
Commit
9b58c60
·
verified ·
1 Parent(s): 8c2a526

Update app.py

Browse files

Amended the docstring in count_letter

Files changed (1) hide show
  1. app.py +2 -2
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
- arg1: the letter to count
17
- arg2: the word that contains the letter
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