Can I append a list obtained from a Class as output outside the class , if Yes how ?? can i use userList for this purpose ?
Inshu
0
Newbie Poster
Recommended Answers
Jump to PostCertainly 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
hughesadam_87
54
Junior Poster
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
Inshu
0
Newbie Poster
Schol-R-LEA
1,446
Commie Mutant Traitor
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.