Skip to content

Instantly share code, notes, and snippets.

@gyugyu90
Created April 26, 2020 14:41
Show Gist options
  • Save gyugyu90/41d42f534920271e7dcfae907becdff0 to your computer and use it in GitHub Desktop.
Save gyugyu90/41d42f534920271e7dcfae907becdff0 to your computer and use it in GitHub Desktop.
fun main() {
val x = 10
val y = 9
if (x in 1..y+1) {
println("range 안에 들어가네요")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment