Please explain how this code works | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
2nd Apr 2019, 10:34 AM
Buhle 💃💃💃
Buhle 💃💃💃 - avatar
2 Réponses
+ 3
One, Two and Three aren't numbers, but strings (you see that from the quotes), which means they are treated as letters. And for letters, if you add them, it makes sense that they just connect. 'a' + 'b' = 'ab' '1' + '2' = '12'
2nd Apr 2019, 11:03 AM
HonFu
HonFu - avatar
+ 2
Oh my how stupid i was busy doing all sorts of calculations, some probabilities tjoooooo. Thankyou so much HonFu
2nd Apr 2019, 11:30 AM
Buhle 💃💃💃
Buhle 💃💃💃 - avatar