机器学习之python基础13

“”" @theme 字符串格式化输出 @author lz @time 2018/12/05 @content format的用法 “”" str2=“my name is {name},age is {old}” #以字典的形式赋值,而后格式化输出 print(str2.format_map({“name”:“lian”,“old”:“11”})) #以变量的形式赋值,而后格式化输出 prin
相关文章
相关标签/搜索