-
-
Save parzibyte/602ea044f4a9090f52ac1bba0cf91603 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// No se pueden crear rangos de mayor a menor, pero | |
// sí se puede invertir uno | |
val rangoDeLetrasInvertido = ('a'..'z').reversed() | |
for (letra in rangoDeLetrasInvertido) { | |
println("Rango de letras de mayor a menor: $letra") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment