Created
March 28, 2019 00:17
-
-
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.
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
""" | |
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