Hello dear Sololearners! Can anyone explain why the statement " echo 1 .print (1).1 outputs 1111" as it's present in SL chalenge | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Hello dear Sololearners! Can anyone explain why the statement " echo 1 .print (1).1 outputs 1111" as it's present in SL chalenge

about one of the Sololearn chalenges

4th Jul 2017, 9:18 AM
Alexandre Sherozia
Alexandre Sherozia - avatar
3 Answers
0
rest of the code?
4th Jul 2017, 10:01 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
there's no rest of the code, it's the unique part of this chalenge I met in 5th round. there were just 1 question: "What's the output of the code: echo 1.print (1).1; " I should have answer 1111, but I don't undrstand why. it gives Parse error on my comp and it seems very logical. ??
4th Jul 2017, 10:19 AM
Alexandre Sherozia
Alexandre Sherozia - avatar
0
the answer is 2 (not entirely sure)
30th Jul 2017, 8:02 PM
a_ioannidis
a_ioannidis - avatar