Python Introducing Lists Build an Application Multidimensional Musical Groups

john knight
PRO
john knight
Pro Student 9,155 Points

am stuck in this challenge i need help

I Couldn't understand anything in the task on this coding challenge. Thanks

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
Eric McKibbin
Eric McKibbin
Treehouse Moderator 11,433 Points

The challenge is asking you to to print the groups as strings with each member separated by a comma.

Your output should look like:

Ad Rock, MCA, Mike D.
John Lennon, Paul McCartney, Ringo Starr, George Harrison
Salt, Peppa, Spinderella
etc
Mustafa Alsaeedi
Mustafa Alsaeedi
8,871 Points

You need to loop through the group and join each element to a string:

for music in musical_groups:
    string = ', '.join(music)
    print(string)