Menu
Coddy logo textTech

You slice the bread now

Lesson 13 of 19 in Coddy's Into the Past || Complete Beginner for Python Strings course.

Slicing on your own

challenge icon

Challenge

Easy

You are going to be given a string of letters from the alphabet and you are going to return a slice


Example:

Input - abcdef

Expected Output - cde

 

Finish the function which will return the 3rd,4th and 5th letters

 

 

 

 

 

 

 

Try it yourself

def slice(letters):
    return 

All lessons in Into the Past || Complete Beginner for Python Strings