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
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here