second version day-4

This commit is contained in:
Asabeneh 2021-07-07 03:29:50 +03:00
parent 1f5d36a192
commit 180c5469a4

View File

@ -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'