A

Admin • 828.03K Points
Coach

Q. Which function returns a portion of a list?

  • (A) part()
  • (B) slice()
  • (C) take()
  • (D) split()
  • Correct Answer - Option(B)
  • Views: 7
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin
slice() is used to get a sublist from a list.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.