str 、 repr 、 `` 、是将Python值转换为字符串的3种方式
创新互联是一家专业提供连城企业网站建设,专注与网站制作、成都网站建设、H5页面制作、小程序制作等业务。10年已为连城众多企业、政府机构等服务。创新互联专业的建站公司优惠进行中。
print str("Hello, World !")
hello, world !print repr("Hello, World !")
'Hello, World !'temp = 2
print "The number is " +temp
The number is 2
售后响应及时
7×24小时客服热线数据备份
更安全、更高效、更稳定价格公道精准
项目经理精准报价不弄虚作假合作无风险
重合同讲信誉,无效全额退款