Write a program that reads a combination of letters and numbers and prints the first digit in it. It is guaranteed that there is at least one digit in the combination.
Jumps and returns
First digit
Report a typo
Sample Input 1:
abcd37lnjSample Output 1:
3Write a program in Kotlin
fun main() {
// put 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.