HFKotlin icon indicating copy to clipboard operation
HFKotlin copied to clipboard

Kotlin File

Open anshuman35 opened this issue 4 years ago • 0 comments

fun findLocation(Continent:String,file: String) { val parts = Continent.split("j") var count = 0 for (part in parts) { count += part.length + 1 if (part == "") {

        findLocation("Africa")
        findLocation("Australia")
    } else {
        Thread.sleep(100 * (part.length + 1L))
        if (count < Continent.length) {
            findLocation("Asia")
            findLocation("North America")
            findLocation("Europe")
        }
    }

}

}

anshuman35 avatar May 13 '20 05:05 anshuman35