Complete the function digits(n) that returns how many digits the number has code example
Example: complete the function digits(n) that returns how many digits the number has.
def digits(n):
return len(str(n))
def digits(n):
return len(str(n))