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 trial

Python Python Collections (2016, retired 2019) Lists Combining Lists

Abrar Fahim
Abrar Fahim
1,071 Points

combining list

I'm getting an error for some reason I'm not sure what I did wrong

lists.py
best = [1,2,3]
best.append(4)
best.append(5)
best.instert(0,"start")

2 Answers

RMZ .
RMZ .
1,002 Points

On the line 4: It should be "insert" instead of "instert"

Kevin Brennan
Kevin Brennan
19,920 Points

Hi Abrar,

Your code is completely correct apart from from one thing, look how you spelt 'insert'. It's a very easy mistake to make.

Hope that helps.