Computer Science, asked by aryangenius2021, 2 days ago

list with in another list​

Answers

Answered by pk8971926
0

Answer:

How to append one list to another list in Python

Use list. extend() to combine two lists. Use the syntax list1. extend(list2) to combine list1 and list2 .

Use list. append() to add a list inside of a list. Use the syntax list1. ...

Other solutions. Use itertools.chain() to combine many lists.

Similar questions