Type conversion | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Type conversion

how to use this feature.i am getting error

16th Dec 2016, 4:29 PM
U RAY
U RAY - avatar
1 Answer
0
please provide some example you are trying so that I can figure out some error in it. Type conversion is pretty straight forward. for example: a = 10 b = str(a) # converts int to string
16th Dec 2016, 10:12 PM
akshil
akshil - avatar