Q: What does the expression evaluates to ?
Answered
quizz 10/36
(1.0...1.5).to_a
copy
Ruby 3.3.0
[1.0, 1.1, 1.2, 1.3, 1.4, 1.5]
[1.0, 1.1, 1.2, 1.3, 1.4]
can't iterate from Float (TypeError)
[1]
privacy policy