Create a gist now

Instantly share code, notes, and snippets.

@lnds /for.kt
Created Jan 11, 2016

What would you like to do?
Fors en kotlin
for (it in accion.withIndex()) {
if (!it.value.isDigit())
return null
if (it.index >= tam)
return null
for ((i,n) in num.withIndex())
for ((j,m) in sec.withIndex())
if (n == m) {
if (i == j) famas++
else toques++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment