#12 how am I suppose to add to the 2d list?

You must select a tag to post in this category. Please find the tag relating to the section of the course you are on E.g. loops, learn-compatibility

When you ask a question, don’t forget to include a link to the exercise or project you’re dealing with!

If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer! :slight_smile:

Hello @cru2z, welcome to the forums! When adding anything to a list, you can use the .append() method:

list_a = ["a", "b"]
list_a.append("c")
print(list_a) >>["a","b","c"]
list_b = [["a","b"],["c","d"]]
list_b.append(["e","f"])
print(list_b) >>[["a","b"],["c","d"],["e","f"]]

I notice that the instructions mention something about keeping the 2D list sorted, in which case you may need to insert rather than append the time to the list; in which case Python’s insert method may be helpful.