my_sort | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

my_sort

Write a function my_sort which takes in a list of numbers (integers). The function should return a list of sorted numbers such that odd numbers come first and even numbers come last.

12th Nov 2017, 11:49 PM
olugbenga olusanya
1 Answer
+ 8
Do your own homework. If you're stuck, provide the code you already have and specify what's your problem.
13th Nov 2017, 12:08 AM
qwerty
qwerty - avatar