Skip to content

Commit

Permalink
second version day-4
Browse files Browse the repository at this point in the history
  • Loading branch information
Asabeneh committed Jul 7, 2021
1 parent 1f5d36a commit 180c546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 04_Day_Strings/04_strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 180c546

Please sign in to comment.