https://github.com/candytale55/substring_between_letters_py_3
substring_between_letters() takes a string named _word_, a single character named _start_, and another character named _end_. This function should return the substring between the first occurrence of _start_ and _end_ in word. If _start_ or _end_ are not in _word_, the function should return _word_. For example, substring_between_letters("apple", "p", "e") should return "pl".
https://github.com/candytale55/substring_between_letters_py_3
code-challenges codecademy python-strings string-challenges-codecademy string-manipulation substring-search substrings
Last synced: 3 months ago
JSON representation
substring_between_letters() takes a string named _word_, a single character named _start_, and another character named _end_. This function should return the substring between the first occurrence of _start_ and _end_ in word. If _start_ or _end_ are not in _word_, the function should return _word_. For example, substring_between_letters("apple", "p", "e") should return "pl".
- Host: GitHub
- URL: https://github.com/candytale55/substring_between_letters_py_3
- Owner: candytale55
- Created: 2021-01-27T06:18:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-27T06:24:26.000Z (over 4 years ago)
- Last Synced: 2023-05-29T01:21:03.631Z (about 2 years ago)
- Topics: code-challenges, codecademy, python-strings, string-challenges-codecademy, string-manipulation, substring-search, substrings
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0