Created
September 11, 2016 13:14
-
-
Save anhnguyen1618/e4360efe39acd53e6b6de015e2d2d8e2 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
def oneLine(size): | |
string='' | |
for i in range(size): | |
string+="*" | |
string+='\n' | |
return string | |
def manyLines(size): | |
finalString="" | |
for i in range(size): | |
finalString+=oneLine(size) | |
return finalString |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment