Created
August 20, 2014 04:24
-
-
Save chuckha/8a917a6013bc06cf2b90 to your computer and use it in GitHub Desktop.
yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas
This file contains hidden or 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
func yas(numOfAs: Int) -> String { | |
var ret = "y" | |
for i in 1...numOfAs { | |
ret += "a" | |
} | |
return ret + "s" | |
} | |
yas(10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment