From 180c5469a472df453167c7af32d950490e9fb8d0 Mon Sep 17 00:00:00 2001 From: Asabeneh Date: Wed, 7 Jul 2021 03:29:50 +0300 Subject: [PATCH] second version day-4 --- 04_Day_Strings/04_strings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04_Day_Strings/04_strings.md b/04_Day_Strings/04_strings.md index 3a060a0..c5a1615 100644 --- a/04_Day_Strings/04_strings.md +++ b/04_Day_Strings/04_strings.md @@ -359,7 +359,7 @@ result = 'The area of a circle with radius {} is {}'.format(str(radius), str(are print(result) # The area of a circle with radius 10 is 314 ``` -- index(): Returns the lowest index of a substring, additional arguments indicate starting and ending index (default 0 and string length - 1) +- index(): Returns the lowest index of a substring, additional arguments indicate starting and ending index (default 0 and string length - 1). If the substring is not found it raises a valueError. ```py challenge = 'thirty days of python'