摘要:
import re def form_s(s): s = s.replace('++','+') s = s.replace('+-','-') s = s.replace('-+','-') s = s.replace('--','+') return s def mul_sub(s): mul_regular = '[\-]?\d+\.?\... 阅读全文
摘要:
import random def v_code(): code = '' for i in range(5): # if i == random.randint(0,5): # add = random.randrange(10) # else: # add = chr(random.randint... 阅读全文