#Python Program to Put Even and Odd elements
# in a List into Two Different List
list = [1,2,3,4,5,6,7,8,9,10]
oddlist = list[::2]
evenlist = list[1::2]
print("number in a list:",list)
print("Even number in a list:",evenlist)
print("Odd number in a list:",oddlist)
