-
-
Save fitomad/36e8335941c25bf78b87e8aab273d488 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
var ahoraQue = true | |
for _ in 0...5 { | |
if ahoraQue { | |
print("Ahora Sí") | |
} | |
else { | |
print("Ahora No") | |
} | |
ahoraQue.toggle() // Cambie de true a false, o de false a true | |
} | |
/* | |
Ahora Sí | |
Ahora No | |
Ahora Sí | |
Ahora No | |
Ahora Sí | |
Ahora No | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment