Created
April 17, 2013 02:23
-
-
Save Akkiesoft/5401320 to your computer and use it in GitHub Desktop.
突然の死的なやつ(Python)
This file contains hidden or 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
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