Question: Create a python file digits.py and implement/write 3 functions definitions that take an integer parameter as an argument and do the following: a. function first
a. function first Digit(n) returns the first digit of the integer n (3 points)
b. function lastDigit(n) returns the last digit of the integer n (3 points)
c. function digits(n) returns the total number of digits in the integer n, (3 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
