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