摘要:
# Some strings for ctype-style character classification c风格字符串whitespace = ' \t\n\r\v\f' #空白字符 \t 制表符 \n换行lowercase = 'abcdefghijklmnopqrstuvwxyz'uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'letters = lowercase + uppercaseascii_lowercase = lowercaseascii_uppercase = uppercaseascii 阅读全文
摘要:
def make_addr(addend): def addr(augend): return augend + addend return addrp = make_addr(23)q = make_addr(42)print p(10)print q(10) 阅读全文