A list is a sequence data type in Python. A list is mutable which means that the values can be modified in the list. A list is used to hold multiple items together. Unlike, C++, a list may contain ...
num.extend(num2) # Unlike append it does not add the list inside the list It add the element of another list to the other list num.extend(num2) # Add the element of Tuple num.extend(num3) # Add the ...