摘要: print函数的用法 输出字符串或数字 print([string])或者print([number]) 输出到文件中 fp = open("out.txt","a+") # 以追加模式打开 print([something],file=fp) fp.close() 转义字符: \n \t \r \ 阅读全文
posted @ 2021-01-24 20:31 sxhyyq 阅读(36) 评论(0) 推荐(0) 编辑