johnkirkwood commited on
Commit
f15befe
·
verified ·
1 Parent(s): c5ba1d2

Update app.py

Browse files

updated function

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,8 +13,8 @@ def count_string_occurrences(main_string: str, sub_string:str) -> int:
13
  Returns the number of times sub_string occurs in main_string.
14
 
15
  Args:
16
- main_string (str): The main string to search in.
17
- sub_string (str): The substring to search for.
18
 
19
  Returns:
20
  int: The number of occurrences of sub_string in main_string.
 
13
  Returns the number of times sub_string occurs in main_string.
14
 
15
  Args:
16
+ main_string: The main string to search in.
17
+ sub_string: The substring to search for.
18
 
19
  Returns:
20
  int: The number of occurrences of sub_string in main_string.