Advertisement
31ph4n70m

reverse_string.kt

Nov 19th, 2019
610
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.20 KB | None | 0 0
  1. // Kotlin solution to codeabbey challenge 30
  2. import java.util.*
  3.  
  4. fun main(args: Array<String>) {
  5.     val s = "on fare supper off shelf jeopardy about cactus"
  6.     val t = s.reversed()
  7.     println(t)
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement