摘要: Python编程PTA题解大全——索引 https://blog.csdn.net/qq_43479432/article/details/105012586 输出华氏-摄氏温度转换表 Description:输入2个正整数lower和upper(lower≤upper≤100),请输出一张取值范围 阅读全文
posted @ 2022-05-21 11:19 渐远的围城 阅读(266) 评论(0) 推荐(0)
摘要: 支线 d = 345.678 s = "hello!" i = 1234 # "%"表示进行格式化输出,"%"之后的内容为格式的定义。 print("%f" % d)# "f"表示格式化输出浮点数。 print("%9.2f" % d)#"9.2"中的9表示输出的长度,2表示小数点后的位数 prin 阅读全文
posted @ 2022-05-21 10:27 渐远的围城 阅读(40) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2013-02-01 20:02 渐远的围城 阅读(16) 评论(1) 推荐(0)