#my_list = [i for i in range(10)] my_list = list(range(10)) my_list