How to Sort the Odd in Python
The challenge
You will be given an array of numbers. You have to sort the odd numbers in ascending order while leaving the even numbers at their original positions.
Examples
The solution in Python code
Option 1:
Option 2:
Option 3: