Complete the solution function. You need to calculate and return the sum of numbers in the list numbers.
List
Sum of numbers
Report a typo
Sample Input 1:
3 2 15Sample Output 1:
20Write a program in Kotlin
fun solution(numbers: List<Int>): Int {
// 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.