Write a function lastDigits() 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 [42,...


Write a function lastDigits() 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 [42, 800, 7, 24], the function will return "2074".
Hint: You may use str() function to convert numbers to strings.




Please answer fast



Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here