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 Introducing Lists Build an Application Multidimensional Musical Groups

I'm confused here, can someone help me?

Can some tell me how i can start?

groups.py
musical_groups = [
    ["Ad Rock", "MCA", "Mike D."],
    ["John Lennon", "Paul McCartney", "Ringo Starr", "George Harrison"],
    ["Salt", "Peppa", "Spinderella"],
    ["Rivers Cuomo", "Patrick Wilson", "Brian Bell", "Scott Shriner"],
    ["Chuck D.", "Flavor Flav", "Professor Griff", "Khari Winn", "DJ Lord"],
    ["Axl Rose", "Slash", "Duff McKagan", "Steven Adler"],
    ["Run", "DMC", "Jam Master Jay"],
]
# Your code here
Ad Rock = [

2 Answers

Steven Parker
Steven Parker
229,708 Points

Start by writing a loop that will go through the list, one group at a time.

Inside the loop, print out the group using the "join" method to format them according to the instructions.

Steven Parker
Steven Parker
229,708 Points

That's a start, but you won't need to keep track of group numbers. "member" is perhaps an odd name for the loop variable, since it will represent the group lists (one at a time).

And when lists are nested inside each other, the levels are sometimes referred to as "dimensions". The outermost list would be the "1st dimension", in this case the list of groups. What it contains is lists of members.

Itsa Snake
Itsa Snake
3,851 Points

I'm really confused what i'm supposed to be doing here. What is the 1st dimension? There seems to be a lot more rows that is implied in this question.

The join lists was probably the most confusing part of the course so far for me.

Is this even a start?

group_number = 0 for member in musical_groups: #join something? group_number += 1