Lesson 7 of 19 · +110 xp

Function

fun keyword.

Explained simply

Your task

Write fun add(a: Int, b: Int): Int = a + b

fn.kotlin
← Back