My language is python 3
Write a function endingDigitOf(n), which returns the rightmostdigit of int n > 0.
Sample run:
2 2
17 7
239 9
1234 4
>>>
Expert Answer
An answer will be send to you shortly. . . . .
My language is python 3
Write a function endingDigitOf(n), which returns the rightmostdigit of int n > 0.
Sample run:
2 2
17 7
239 9
1234 4
>>>
An answer will be send to you shortly. . . . .