Can I append a list obtained from a Class as output outside the class , if Yes how ?? can i use userList for this purpose ?
Jump to Post
Certainly you can nest lists inside another list, and you wouldn't necessarily need another method to do it. If you already have the list to insert, the it is as easy as
>>> alist = [1,2,3] >>> blist = [4,5,6] >>> clist =  >>> clist.append(alist) >>> …
All 4 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.