摘要:
python_test_0528 print("pp49_0528") print(str(10000)) ''' 字符串方法 ''' #find str1 = "with a moo-moo" pos = str1.find("moo") print("number"+repr(8)) #prin 阅读全文
posted @ 2023-05-28 21:53
txwtech
阅读(31)
评论(0)
推荐(0)
摘要:
# 格式化字符串--P45 format2 = "Pi with three decimals:%.3f" from math import pi print(format2 % pi) # 字符串模板 from string import Template s = Template('$x,glo 阅读全文
posted @ 2023-05-28 15:45
txwtech
阅读(20)
评论(0)
推荐(0)

浙公网安备 33010602011771号