Skip to content

Instantly share code, notes, and snippets.

@rail-rate
Created July 2, 2019 11:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rail-rate/2eaaea9f154b5e22e883a82da42a35d6 to your computer and use it in GitHub Desktop.
Save rail-rate/2eaaea9f154b5e22e883a82da42a35d6 to your computer and use it in GitHub Desktop.
Range1
fun main(args: Array<String>) {
val a : IntRange = 0..6
val b : CharRange = 'A'..'E'
val c : CharRange = 'あ'..'お'
println(a)
println(b)
println(c)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment