# animals list 1.animals = ['cat', 'dog', 'rabbit'] # list of wild animals 2.wild_animals = ['tiger', 'fox'] # appending wild_animals list to the animals list 3.animals.append(wild_animals) 4.print('Updated animals list: ', animals)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter