+ 1
Type conversion
Pls I don’t understand this can someone pls break it down
2 Respuestas
+ 5
a = "5" # now it's a string
a = int(a) # now it's an integer 5
a = float(a) # now it's a float 5.0
a = str(a) # now it's a string again "5.0"
Pls I don’t understand this can someone pls break it down