14th Jul 2016, 12:54 PM
hiba hasib
hiba hasib - avatar
3 Réponses
+ 6
str is a keyword in python for data type string for example : a=str(5) print(a) now the str() function converts the type of 5 as string '5' like wise u can use str() for string conversion float() for float conversion int() for integer conversion the arguments passed within these functions would convert the type respectively
14th Jul 2016, 1:08 PM
sundar
sundar - avatar
0
oh thanks a lot, now I get it.
14th Jul 2016, 1:17 PM
hiba hasib
hiba hasib - avatar
0
Which is used convert to string data type
14th Jul 2016, 3:50 PM
Murali Gandham
Murali Gandham - avatar