27th Jul 2019, 4:51 PM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
3 Réponses
+ 2
Because "+" is used only for sum of numbers. If you need to concatenate you can use "." instead of "+".In your case of output => look at the code 😉 https://code.sololearn.com/wLhD5VBfetBT/?ref=app
27th Jul 2019, 4:55 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 2
Thank You for Your answer, White Cat_-:)
27th Jul 2019, 5:04 PM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
0
You are welcome EGO 👍
27th Jul 2019, 5:07 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar