1.åè¿å¶è½¬äºè¿å¶ä»£ç python
åè¿å¶è½¬äºè¿å¶ä»£ç python
bin( )å½æ°å¯ä»¥ææ´æ°è½¬æ¢ä¸ºäºè¿å¶
num=
print(bin(num))
octå¯ä»¥ææ´æ°è½¬æ¢ä¸ºå «è¿å¶ã
num=
print(otc(num))
hexå¯ä»¥æåè¿å¶æ´æ°è½¬æ¢ä¸ºåå è¿å¶
num=
print(hex(num))
int("",弹弹糖源码 2) å¯ä»¥æäºè¿å¶è½¬æ¢ä¸ºåè¿å¶ã
æ¯äºè¿å¶ï¼è®°å¾è¦å ä¸åå¼å·ã
æ°å2表示""为äºè¿å¶ãå¦æè¾å ¥çä¸æ¯äºè¿å¶æ°åå°±ä¼æ¥éã
str=ââ
print( int(str, 2 ))
2024-12-23 00:37
2024-12-23 00:25
2024-12-23 00:09
2024-12-23 00:09
2024-12-22 23:49
2024-12-22 22:35