 Hi everyone, in this tutorial I'm gonna show you how to split a number into the integer and decimal part in Python language. Also I'm gonna show you how to add these two numbers into tuple in Python language. So in order to split a number into its integer and decimal part, first what we gonna do is to import mat module. So let's import mat module. Next thing is that we're going to use modf function. Modf function will take and float number as an integer and it will return the fractional and integer parts of the number in a two item tuple. Then after splitting, both parts will have float type and both will have same sign as the initial number. Let's create an example. I'm gonna use modf function from mat module. I'm gonna use for example number 3.5. I'm gonna print it. We're going to split this number into its decimal and integer parts. I'm gonna run this code and as you can see, first we have decimal part and then we have integer part. Both are positive numbers but if we have as an argument negative number and if we run this code again, you can notice that both parts of this number are going to be negative. That's all in this tutorial, don't forget to subscribe to our channel, see you in the next tutorial.