Question: Q5: Write a function to split a number into two numbers: first contain only even digits, second contains only odd digits. Ex: input number 234566

Q5: Write a function to split a number into two numbers: first contain only even digits, second contains only odd digits. Ex: input number "234566" output: num1=2466, num2=35
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
