[英]formatting string in python using format
有代碼:
xor = 127002634777471167503839844242873650079
print '{0:x}'.format(xor)
print format(xor, 'x')
誰能解釋一下最后兩個字符串的含義? 如何從xor變量生成5f8bd156f9e50e5381ab282ba2000b9f?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.