c 输出是自动显示输出类型

显示0x

i=1
print("%#x
",i)

显示6位有效数字

i=1
print("l=%.6lf
",i)
原文地址:https://www.cnblogs.com/sea-stream/p/11071142.html