πŸ“Š Ruby
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>
πŸ’¬ Discuss
βœ… Correct Answer: (A) (1..10)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
72354
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate