Computer Science, asked by roy6428, 1 day ago

Write a function EvenOdd(MYLIST), which doubles each Odd elements of MYLIST and half each Even element of MYLIST.
For e.g. if MYLIST = [10,11,40,4,17,23,45,100,80]
The output should be [5,22,20,2,34,46,90,50,40]

Answers

Answered by mohitshaw748
0

Answer:

the answer will be [10,11, 40,4,17,23,45,100,80]

Similar questions