Jan Durcak2,958 Points
In this first o
hey guys, why is this not working for me
for i in thing[0:4]: return i
def first_4(hey): for i in hey[:4]: print(i)
Chris FreemanTreehouse Moderator 55,159 Points
You are very close. The challenge is asking for the 4 values to be return as one object. With the
return Inside the
for loop, it will return only the first character.
for loop and directly return the whole slice you’ve made.
Post back if you need more help. Good luck!!!