-
-
Save fitomad/e988feb5ab77329ffc4f6fd3a33d9361 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
let porcentajes = [ 12.5, 99.5, 12.0, 75.0, 49.9, 51.5 ] | |
for porcentaje in porcentajes where porcentaje > 50.0 | |
{ | |
print(porcentaje) | |
} | |
/** | |
Los valores iterados son: | |
99.5 | |
75.0 | |
51.5 | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment