I just want to divide each element in a list by an int.
myList = [10,20,30,40,50,60,70,80,90] myInt = 10 newList = myList/myInt
This is the
The abstract version can be:
import numpy as np myList = [10, 20, 30, 40, 50, 60, 70, 80, 90] myInt = 10 newList = np.divide(myList, myInt)