Using Indices
Let's put it into practice!
Task
Swipe to start coding
Given string description
. You need to extract:
- The very last symbol of the string.
- The 18th - 20th (positions, not indices, including both left and right boundaries) symbols.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 7
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 4.35
Using Indices
Swipe to show menu
Let's put it into practice!
Task
Swipe to start coding
Given string description
. You need to extract:
- The very last symbol of the string.
- The 18th - 20th (positions, not indices, including both left and right boundaries) symbols.
Solution
Everything was clear?
Thanks for your feedback!
Awesome!
Completion rate improved to 4.35SectionΒ 1. ChapterΒ 7
single