Okay in Python programming we have these let's say data types. So, let's say for variable a variable one is integer data type, variable two is a integer data type. So, if I want to convert this to an essay will say string, I will do something that is, so I can write in something variable t equal as the variable one variable for ici SP are available to Kaden he C IE equal variable tree grass variable and I print it let's run the code see. So I get 30. So one plus three, we should get four but after let's say we convert it to decimal convert it to string, it becomes 30. This is because if we convert this one to string, then our display to a string and when we add these two variable together, then you will be a string as a string of value one.
You'll usually say this is to honor the append to the Penwith visa Tesla Tesla value tree so you will become a one then the tree at this one, so it'll be a one a pen the tree okay. So, this is why data conversion is important. If I say we used as an ad in Asia, then he will give us one plus three equal four, one plus three equal four. So, let's see, in Python programming we can convert as a from integer datatype to these string data type. We can also convert as a integer datatype to float data type or we can also convert string data type to full data type. So, a VC I want to convert sc 4.0 and four c five points Kenai cane combo birch tree and a rowboat for to say.
I'm poised conveyed to Indonesia I can do something like this. I was in teacher they were about three and six individual terrible fall okay so let's see it Hi. They're about five or six. Okay. So I run this code as you can see, okay, see invalid because there is a decimal point here. So I can convert from the stream without those decimal points and run the code.
So I guess six. So let's see I want to convert to be Well, those are the simple points, say, five points. Five Points. Okay, number two, I can do something like this. Okay, then I can run these guys thanks this point zero. So these are two variables flow and in the aggregate it gave me a data type.
If I convert to integer they gave me an integer data type. So let's say I convert this to string, there will be 1.05 points of your agenda and these tests are usually co attendees XP IDs 1.0 are these available