Created
October 19, 2018 20:38
-
-
Save mr-katsini/c509ccb0911ee24fff4af18f5b3c8cbf to your computer and use it in GitHub Desktop.
Print the chinese mafia in the terminal.
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
mafia = 2 | |
left = '(-.' | |
right = '.-)' | |
left_side = "" | |
right_side = "" | |
for i in range(0, mafia): | |
left_side = "{}{}".format(left_side, left) | |
right_side = "{}{}".format(right_side, right) | |
print("{}(-.-){}").format(left_side, right_side) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment