You said that I can't concatenate integers number ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

You said that I can't concatenate integers number ?

The answer is that I can concatenate integers numbers I just experience it and it worked.

10th Jan 2020, 11:12 AM
Mohammed Amine Ahmami
Mohammed Amine Ahmami - avatar
4 Answers
+ 1
Mohammed Amine Ahmami Here you are concatenating string print('4' + '5') Single quote or double quotes represent strings that's why that concatenate
10th Jan 2020, 11:16 AM
Preity
Preity - avatar
+ 1
You are concatenating string instead of number as you are using (' ') and(" ") which defines string
10th Jan 2020, 11:20 AM
Preity
Preity - avatar
10th Jan 2020, 11:19 AM
Mohammed Amine Ahmami
Mohammed Amine Ahmami - avatar
0
Good luck trying that nice trick in another language 👍
10th Jan 2020, 1:28 PM
Ipang