Skip to content

Instantly share code, notes, and snippets.

@anhnguyen1618
Created September 11, 2016 13:14
Show Gist options
  • Save anhnguyen1618/e4360efe39acd53e6b6de015e2d2d8e2 to your computer and use it in GitHub Desktop.
Save anhnguyen1618/e4360efe39acd53e6b6de015e2d2d8e2 to your computer and use it in GitHub Desktop.
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