Skipping lines on ruby | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Skipping lines on ruby

I was wondering what the difference is between the different inputs in ruby (puts,print,etc) Specifically, it looks like sometimes the program automatically make a new line between different text commands and sometimes it does not. Can someone please explain? Thank you !

29th Apr 2019, 11:06 PM
Learning to Code
Learning to Code - avatar
1 Réponse
+ 3
That's explained in the tutorial https://www.sololearn.com/learn/Ruby/2702/
30th Apr 2019, 4:16 AM
Anna
Anna - avatar