Skip to content

Instantly share code, notes, and snippets.

@mr-katsini
Created October 19, 2018 20:39
Show Gist options
  • Save mr-katsini/d364e3985275de33d51b46edd1814765 to your computer and use it in GitHub Desktop.
Save mr-katsini/d364e3985275de33d51b46edd1814765 to your computer and use it in GitHub Desktop.
Print the chinese mafia in the terminal. Very fun to add when someone types the wrong sudoer password :P
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