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 Let's Review Lists

【HELP】This is my understanding. Does this make sense to you? If not, please tell me why.

my_list = [0, 1, 2, "First String", "Second String", ["First item of the last member", "Second item of the last member"]]

2 Answers

Eric M
Eric M
11,545 Points

That makes sense to me as a list called my_list containing int, int, int, string, string, list The last item of the first list is a list containing two strings

What's your question?

What you just kindly told me helped me to understand this is okay as a list. Thanks for your time.