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 trialHerbert Showalter
1,514 PointsJust did a lesson on lists in Python. Kenneth explained how to do them in Python, not in IDLE. First Challenge.
Just completed lesson for beginner python. Lesson was done in the console. First challenge wants it done in script, which we did not learn. Tried to write the code in Python, script editor won't accept. Insight please!
1 Answer
Victor Rodriguez
15,015 PointsIt is pretty much the same. The console only accepts one line of code at a time however. When you write the script just remember that python separates code with newlines. So if I were to solve this challenge I would write:
full_name = 'Victor Rodriguez'
name_list = full_name.split(' ')
The python interpreter will read it from top to bottom executing along the way. It will be the same in any IDE. You create a new .py file, write your code, and run it.