摘要:
目录 %用法 format用法 %用法 1、整数的输出 %o —— oct 八进制%d —— dec 十进制%x —— hex 十六进制 1 >>> print('%o' % 20) 2 24 3 >>> print('%d' % 20) 4 20 5 >>> print('%x' % 20) 6 阅读全文
posted @ 2019-04-13 08:16
RuiWo
阅读(174862)
评论(2)
推荐(13)
浙公网安备 33010602011771号