Score: 0 | Level: 1 | Misses: 0/5
Streak: 0

New Skill Unlocked!

Select Difficulty

Game Over

Final Score: 0

Correct: 0

Level Reached: 1

Best Streak: 0

Difficulty: Medium

Type the slice to match highlighted characters.

Examples:
a[0] = single index
a[1:4] = slice from 1 to 4
a[::2] = every 2nd character
a[-1] = from end (←|)
a[::-1] = reverse (←)

Streak bonus:
3+ correct = 2x points
5+ correct = 3x points
10+ correct = 4x points

How to Play

Type the Python slice that selects the highlighted characters.

Indexing

Each character has a position (index) starting at 0:

"hello" → h=0, e=1, l=2, l=3, o=4

Slicing

Select a range with [start:stop] (stop is excluded):

Step

Add a step with [start:stop:step]:

Symbols

Keyboard Shortcuts