lst = [[i, i*i] for i in range(10)]
[lst.extend(i) for i in lst]
Change math as necessary.
EVEN BETTER
#Change my_range to be the number you want range() function of
start = 1
my_range = 10
lst = [i/2 if i % 2 == 0 else ((i-1)/2)**2 for i in range(start *2, my_range*2 - 1)]