I'm trying to create a barebones list maker for what once was a school project and is now a personal project (missed deadline), and I ran into a wall pretty much instantly.
When trying to do
def create(list):
lists.append(str(list))
str(list) = []
I get the error
SyntaxError: cannot assign to function call
Is this impossible? The idea is to have a user type commands such as "create (name of list)" and "add (name of list) (name of item)" and I think I may have to completely change my plan.
*also lists.append()
refers to a list of the list names that is NOT a 2D list, though I'm considering using one