def makeList(filename):
my_list = []
sourceFile = open(filename, "r")
for r in sourceFile.readlines():
r = r.strip("\0").strip("\n").strip("\r").strip("[").strip("]")
prepared_list = r.split(", ")
my_list.append(prepared_list)
return my_list
ZGVmIG1ha2VMaXN0KGZpbGVuYW1lKToKCW15X2xpc3QgPSBbXQoJc291cmNlRmlsZSA9IG9wZW4oZmlsZW5hbWUsICJyIikKCWZvciByIGluIHNvdXJjZUZpbGUucmVhZGxpbmVzKCk6CgkJciA9IHIuc3RyaXAoIlwwIikuc3RyaXAoIlxuIikuc3RyaXAoIlxyIikuc3RyaXAoIlsiKS5zdHJpcCgiXSIpCgkJcHJlcGFyZWRfbGlzdCA9IHIuc3BsaXQoIiwgIikKCQlteV9saXN0LmFwcGVuZChwcmVwYXJlZF9saXN0KQoKCXJldHVybiBteV9saXN0