Question: python Write a function listLastDigits() that takes a list of positive integer numbers as parameter, returns a new list made of the last digits of
python Write a function listLastDigits() that takes a list of positive integer numbers as parameter, returns a new list made of the last digits of the numbers in the list. Example: If the parameter list contains [42, 800, 7, 24], the function will return [2, 0, 7, 4].
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
