摘要:
ret = chr(65)ret2 = ord('A')print(f'ret:{ret}') # 根据ASCII码找对应字符print(f'ret2:{ret2}') # 根据字符找ASCII码 阅读全文
摘要:
res = 'jack'def index(): return 123ret = callable(res)ret2 = callable(index)print(f'ret:{ret}') # ret:Falseprint(f'ret2:{ret2}') # ret2:True 阅读全文