@@ -0,0 +1,1150 @@
+%0A# %E5%8D%87%E5%8D%8A%E9%9F%B3%0A%0Adef sharp_note(mynote, sharped):%0A    '''%0A    %E7%BB%99%E4%B8%80%E4%B8%AA%E9%9F%B3%E7%AC%A6%E5%8D%87%E5%8D%8A%E9%9F%B3%0A    '''%0A    if sharped:%0A        if mynote == '1':%0A            return '2'%0A        elif mynote == '2':%0A            return '3'%0A        elif mynote == '4':%0A            return '5'%0A        elif mynote == '5':%0A            return '6'%0A        elif mynote == '6':%0A            return '7'%0A        else:%0A            return '(!)'%0A    else:%0A        if mynote == '3':%0A            return '4'%0A        elif mynote == '7':%0A            return '%5B1%5D'%0A        elif mynote == '1' or mynote == '2' or mynote == '4' or mynote == '5' or mynote == '6':%0A            return '#' + mynote%0A        else:%0A            return mynote%0A%0Adef sharp_tune(old_tune):%0A    '''%0A    %E5%8D%87%E5%8D%8A%E9%9F%B3%0A    '''%0A    str(old_tune)%0A    sharping = False%0A    new_tune = ''%0A    for i in old_tune:%0A        if i == '#':%0A            sharping = True%0A        else:%0A            new_tune = new_tune + sharp_note(i, sharping)%0A            sharping = False%0A    return new_tune%0A%0A%0Adef sharp_tune_more(old_tune, times):%0A    '''%0A    %E5%A4%9A%E6%AC%A1%E5%8D%87%E5%8D%8A%E9%9F%B3%0A    '''%0A    for _ in range(times):%0A        old_tune = sharp_tune(old_tune)%0A    return old_tune%0A%0A# print(sharp_tune(input('input:')))%0A

Create sharp.py