A

Admin • 670.22K Points
Coach

Q. How do you create a range from 1 to 4, excluding 4?

  • (A) 1 to 4
  • (B) 1...4
  • (C) 1..<4
  • (D) [1,4)
  • Correct Answer - Option(C)
  • Views: 1
  • Filed under category Swift (iOs)
  • Hashtags:

Explanation by: Admin
`..<` defines a half-open range, including the start but excluding the end.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.