Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialkachrimanidisprodromos
1,151 PointsFunction first_4
guyz I could use some help over here since im rather new but this whole thing seems correct to me but i keep receiving an error Where's the 'first_4()' Any thoughts??
my code so far is:
def fisrt_4(iterable): return iterable[:4]
def fisrt_4(iterable):
return iterable[:4]
1 Answer
Alexander Davison
65,469 PointsJust a little typo.
You misspelled first_4
as fisrt_4
.
Just fix that and you should be good to go :)
Good luck! ~alex
kachrimanidisprodromos
1,151 Pointskachrimanidisprodromos
1,151 Pointslol i just realize it :P Such a noob i am!
Alexander Davison
65,469 PointsAlexander Davison
65,469 PointsNo problem.
You don't need to worry; you just need to pay closer attention when programming.
It happens to all of us :)