Question: Write a function sumLastDigits() that takes a list of numbers as parameter, returns a string made of the last (rightmost) digits of the numbers in
Write a function sumLastDigits() that takes a list of numbers as parameter, returns a string made of the last (rightmost) digits of the numbers in the list. Example: If the parameter list contains [44, 800, 7, 24, 61], the function will return 16 (= 4 + 0 + 7 + 4 + 1).
python
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
