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 trialConor Mosier
925 PointsI think im suppose to access each band and pair the members with it but im honestly lost.
once again just being able to see the answer would be so beneficial, now i have to stop all progress and wait.
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
for group in musical_groups:
comma = ", ".join(musical_groups)
print(comma)
2 Answers
jb30
44,806 Pointscomma = ", ".join(musical_groups)
should be comma = ", ".join(group)
because you want each individual group and not the group of groups.
amandae
15,727 PointsHi, Conor. This is just something I have found helpful as I have gone along...
Especially if I'm unsure of myself going into a code challenge, I'll open up the questions for the video before the challenge (and sometimes the one after) in a new tab. That way, if I'm stuck, I can look through the questions without actually leaving the challenge and having to start over. Especially for the code challenges which are just a few lines, I have almost always figured out where I was going wrong. Even if I still had a question for the forum, I found enough of an answer to move on with the challenge while I waited for clarification. I hope this helps you, too, and good luck!