fun main() {
print(“hello”)
}
error:(2,5) kotlin:Unresolved reference: print
The function you’re looking for is probably println. print should resolve as well though, so that’s weird.
I’d suggest you check the Kotlin docs for more info on how to get started:
https://kotlinlang.org/docs/reference/
https://kotlinlang.org/docs/tutorials/