摘要: print() print默认是换行的,是end='\n'在起作用。 要想不换行你应该写成 print(str, end = '') >>> print('The length of %s is %d.' %('Python', len('Python'))) The length of Pytho 阅读全文
posted @ 2020-11-19 14:17 吃糙米饼的苏小迪 阅读(115) 评论(0) 推荐(0)