|
---|
Splitting Up Numbers |
Create a function that takes a number num and returns each place value in the number. |
Examples |
<br>num_split(39)<br>output =[30, 9]<br><br>num_split(-434)<br>output = [-400, -30, -4]<br><br>num_split(100)<br>output =[100, 0, 0]<br> |