Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 1
Type conversion
Pls I don’t understand this can someone pls break it down
2 Réponses
+ 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"