You have two strings from standard input: the first one is a sequence of numbers, and the second is one number. Create a number list from the first string and return the element with the index equal to the number from the second string. Return null if there isn't such an element in the list.
Null and collections
Is there an element?
Report a typo
Sample Input 1:
12 34 76758 56765 3432 2352 467567 235423 234 231 9757
13Sample Output 1:
nullWrite a program in Kotlin
fun main() {
// Write your code here
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.