- 1
cant understand plz explain me this
12 odpowiedzi
+ 1
what?
+ 1
type conversion
+ 1
you can change datatype of a variable to another
ex.
a = 1 # this is integer
b = str(a) # this is a string "1"
you have several of these
float()
int()
str()
hex()
etc.
+ 1
hmmm can you create a code
+ 1
hmmm can you create a code
+ 1
you can try them on the playground
+ 1
but i dont know the format to write this so how can i try it on playground
+ 1
its a part of the basic tutorial anyways https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2492/
+ 1
thnku sir
+ 1
can i get ur whtssp no.??
0
then i highly recommend taking the python course here on sololearn. You'll learn about datatypes there. You shouldnt ponder your mind on type conversions if you havent even learned the basics
0
no sorry, You'll find me on Sololearn Discord. You'll find the invite link with search