Q39
What does the 'chomp' method do in Ruby?
A.
Removes trailing whitespace
AnswerB.
Converts to integer
C.
Reads input from user
D.
Splits a string
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board