A

Admin • 833K Points
Coach

Q. Which of the following is the correct way to define a range in Ruby?

  • (A) (1..10)
  • (B) [1 to 10]
  • (C) {1..10}
  • (D) <1,10>
  • Correct Answer - Option(A)
  • Views: 18
  • 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.