学习笔记(08):Python 面试100讲(基于Python3.x)-请详细描述print函数的用法

立即学习:https://edu.csdn.net/course/play/26755/340118?utm_source=blogtoedu

用逗号分隔输出的字符串:print("aa","bb",sep=",")

如何让print输出不换行:

print("hello",end=" ")

使用%格式化字符串

发布了26 篇原创文章 · 获赞 0 · 访问量 124

猜你喜欢

转载自blog.csdn.net/wuchuang19/article/details/104207543