A

Admin • 833K Points
Coach

Q. How do you define a range in Ruby?

  • (A) range = "start..end"
  • (B) range = start..end
  • (C) range = Range.new("start", "end")
  • (D) range = start.to(end)
  • Correct Answer - Option(B)
  • Views: 24
  • Filed under category Ruby
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.