Skip to content

Instantly share code, notes, and snippets.

@Akkiesoft
Created April 17, 2013 02:23
Show Gist options
  • Save Akkiesoft/5401320 to your computer and use it in GitHub Desktop.
Save Akkiesoft/5401320 to your computer and use it in GitHub Desktop.
突然の死的なやつ(Python)
def totsuzenno(string,returnstr):
strbytes = len(string)
if strbytes % 2:
count = strbytes - 2
else:
count = strbytes - 1
line1 = '_人'
line2 = '> ' + string + ' <' + returnstr
line3 = ' ̄^'
for i in range(count):
line1 += '人'
line3 += 'Y^'
line1 += '_' + returnstr
line3 += ' ̄' + returnstr
return line1 + line2 + line3 + returnstr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment