get user input in kotlin code example Example: user input in kotlin fun main() { val userinput = readLine() }