Write a lambda function to that gives the number of digits in a number


Topic: Write a lambda function to that gives the number of digits in a number

Solution

dig_cnt = lambda a: len(str(a))



List all Python Programs