+ 6
Kotlins sqrt in Sololearn
How can I compute sqrt of a number in Kotlin? Please provide a oneliner
6 ответов
+ 6
not needed to import java.lang.Math.*
just see this same example
https://code.sololearn.com/clUvmKv6JO8X/?ref=app
+ 5
Jay Matthews 😘😘😘😘😘
+ 3
please mention Jay Mathew as a best answer I am just improve there code. and for kotlin question you can ask from John well(MOD)sir he can give you best answer.
+ 2
nitish kumar jha
that means kotlin.lang is onboard right?
do u know kotlin version on SL?
+ 2
nitish kumar jha there are many ways to say thank you and yes..John is very far with Kotlin
+ 1
Jay Matthews one more question:
I saw kotlin.lang.math .
U use java library.
It is a question of kotlin version I think. right
which version is on SL?