Skip to content

Instantly share code, notes, and snippets.

@chicagowebmanagement
Created March 28, 2019 00:17
Show Gist options
  • Save chicagowebmanagement/371d09ff3d441e1b1454f3fa3b64d87e to your computer and use it in GitHub Desktop.
Save chicagowebmanagement/371d09ff3d441e1b1454f3fa3b64d87e to your computer and use it in GitHub Desktop.
Create the string "three three three" using concatenation, and then again using multiplication.
"""
Create the string "three three three" using concatenation, and then again using multiplication.
"""
x = "three "
print(x + x + x)
# now, lets use multiplier
print(x*3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment