Update app.py
Browse files
app.py
CHANGED
|
@@ -43,8 +43,8 @@ def change_str(str2,num2):
|
|
| 43 |
return new_srt
|
| 44 |
|
| 45 |
def str_count(str3,sub_str):
|
| 46 |
-
|
| 47 |
-
|
| 48 |
x = new_str3.count(new_sub_str)
|
| 49 |
return x
|
| 50 |
|
|
|
|
| 43 |
return new_srt
|
| 44 |
|
| 45 |
def str_count(str3,sub_str):
|
| 46 |
+
new_str3 = str3.lower()
|
| 47 |
+
new_sub_str = sub_str.lower()
|
| 48 |
x = new_str3.count(new_sub_str)
|
| 49 |
return x
|
| 50 |
|