I'm trying to make list contain (even numbers) with using while loop :
a=0
while a<8:
a=a+2
print(a,end=' ')
t=list(a)
print (t)
and how do I can make a code to division the numbers from the first list into two list: one for(even numbers) and the other for (odd numbers) ?