range() import numpy as np print([i for i in range(0, 1.1, 0.1)]) # TypeError: 'float' object cannot be interpreted as an integer print([i