Odd or even?
Start with the following array:
numbers = [5,9,7,3,1,6,8]
You will need to sort these numbers in to two different arrays depending on whether they are odd or even.
The completed program will have a function for:
|
![]() |
It would be best to create the odd/even functionality first for a single digit, ignoring the array. When that works, add support for appending to the arrays, then add support for itterating over the array.
You need to log in or create an account to submit code!












