Algorithmic Approaches for Biological Data, Lecture #10

concatenate an element to the end of a list, that element must be made into a list. [1,2,3] + 4 results in a TypeError, but [1,2,3] + [4] yields a list with four elements. Similarly for repetition 0*10results in the integer 0, but [0]*10results in a list containing ten zeroes. … ................
................