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 need help with the multi-dimensional list of musical_groups. It is the last task in introduction to lists.

I need help. :D

boi
boi
14,242 Points

What part of the challenge do you want help with? could you post your question with your code?

the whole thing

Thanks boi. I'll go back and watch all the videos until I completely understand it.

1 Answer

boi
boi
14,242 Points

In the first task input this,

for x in musical_groups:
    print(", ".join(x))

for the second task,

for x in musical_groups:
    if len(x) == 3:
        print(", ".join(x))

Even when solving this challenge now, I could not understand what exactly the challenge wants me to output, but I figured it out by trial and error.

Asking for a solution to an entire challenge will bring you no good, I'm against this method of helping but since it seems you're getting discouraged (judging but the late reply) I'd provide the solution.

I HIGHLY recommend you rewatch previous videos and understand the fundamentals strongly before moving further in the course, If you continue to ask for solutions in the future there is a 97% chance you will give up on programming.

Advice from a fellow noob programmer who struggles with every challenge.

boi