Where is output of "print origin.x" ¿? Где је аутпут од "print origin.x" ¿? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 17

Where is output of "print origin.x" ¿? Где је аутпут од "print origin.x" ¿?

https://code.sololearn.com/czz94noG9tu1/?ref=app

1st Feb 2018, 11:16 PM
Vučko/Вучко/Vuchko
Vučko/Вучко/Vuchko - avatar
4 Answers
+ 20
Output of two prints are displayed together, this is 150 in the third line. Because puts automatically adds a new line after the output, but print does not. https://www.sololearn.com/learn/Ruby/2702/
1st Feb 2018, 11:33 PM
NezhnyjVampir
1st Feb 2018, 11:46 PM
NezhnyjVampir
+ 19
You are welcome, @vucko👍
2nd Feb 2018, 12:31 AM
NezhnyjVampir
+ 15
Thanks NV Хвала NV
1st Feb 2018, 11:58 PM
Vučko/Вучко/Vuchko
Vučko/Вучко/Vuchko - avatar