def spisok(a): c=[] for i in range(0,a,): c.append(i) return c b=int(input("Введите число:")) print(spisok(b))