I feel like this should be an easy task but I can't seem to figure it out. I have a question
Subject_List = []
Subject = input("Please enter a subject")
Subject_List.append(Subject)
(This isn't my code, just an example)
So this asks for a subject, then appends to into the list.
My question is:
How do I make it so each 'subject' that the user enters is a separate list? If that makes sense. So for example.
Subject_List = []
Subject = input("Please enter a subject")
Subject_List.append(Subject) #Lets say the user English. Therefore Subject_List = [English]
But now I want to create a whole new list. For example.
Subject_List2 = []
Subject = input("Please enter a subject")
Subject_List2.append(Subject) #Lets say the user Math. Therefore Subject_List2 = [Math]
Usually, I could just define a few different lists and each time an input is entered it moves on but the user is going to be required to enter a lot. Is there a way I can automate the creation of a list?