Does puts and print work same? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Does puts and print work same?

22nd Aug 2017, 4:23 PM
kuldeep
kuldeep - avatar
2 Antworten
+ 8
'puts' adds a newline to the end of the statement automatically, 'print' does not.
23rd Aug 2017, 2:05 AM
Hatsy Rei
Hatsy Rei - avatar
0
Ok thanks
9th Sep 2017, 2:06 PM
kuldeep
kuldeep - avatar