Computer Science, asked by chivadharshni, 23 hours ago

please find this important​

Attachments:

Answers

Answered by samarthkrv
1

Answer:

List = [2,4,7,2,6,6,8,9,3,5,4,7,7]

Odd_List = []

Even_List = []

for i in List:

   if(i%2 == 0):

       Even_List.append(i)

   else:

       Odd_List.append(i)

print("Original list is",List)

print("Even list " , Even_List)

print("Odd list " , Odd_List)

Explanation:

Similar questions