+ 4
I don't understand "gets.chomp" What chomp do in Ruby?
4 Respostas
+ 2
For instance run this code after removing .chomp from gets
https://code.sololearn.com/cT2JZOX99w59/?ref=app
+ 18
(Removes unecessary whitespaces from begining and end of string??)
+ 4
Thank you both, Your code helps me lot.
0
hello 👋 my friend (Valerie gane)