 Hi everyone, in this tutorial, I'm gonna show you how to count number of digits in a number in Python language. In order to do that, I'm gonna create a function, which is gonna count number of digits in a number. I'm gonna call it digits. This function is gonna have one parameter. I'm gonna call it number. So in this function, we're going to provide a number and then we are going to count number of its digits. First, what I want to do is to find the absolute value of this number. So if this number is negative, this function is gonna convert it to a positive number. Then I want to convert this absolute value number to a string. And finally, I want to count the length of this string and I want to print the length of this string to the screen. So I'm gonna use print function. Let's try our function number of digits in a number minus 435. Number of digits is 3. That's all in this tutorial. See you in the next tutorial. Bye!