python学习日记7
\b回退
\r回车(光标移到本行首)
hex(x)把整数x变成十六进制
oct(x)把整数x变成八进制
str.count(sub)
str.split()
str.replace(old,new)
str.center(width[,fillchar])
str.join(iter)
在槽中填写数字可填入后面对应序号的变量
\r回车(光标移到本行首)
hex(x)把整数x变成十六进制
oct(x)把整数x变成八进制
str.count(sub)
str.split()
str.replace(old,new)
str.center(width[,fillchar])
str.join(iter)
在槽中填写数字可填入后面对应序号的变量
全部评论
忘记的知识点:format方法的格式控制
送花
回复
分享
相关推荐
投递中广核等公司7个岗位 >
点赞 评论 收藏
转发