The shortest and most readable way to do it would probably be hexlist = [hex(x) for x in range(256)]. Time. Your first : 0.1 ms per loop for ...
確定! 回上一頁