divide all elements of list by an integer code example Example: divide all elements of list by an integer myList[:] = [x / myInt for x in myList]