How to add one list to another list in Python

1 Answer

0 votes
list1 = [1, 8] 
list2 = [3, 9, 1] 

list1.append(list2)

print(list1)





'''
run:

[1, 8, [3, 9, 1]]

'''

 



answered Apr 19, 2021 by avibootz
...