get a list `mylist` from 1 to 10,myList = [i for i in range(10)]