通常我们使用两个print()的时候,输出结果会两行显示。
两个print()同行输出的方法:end = ' '
A = "我想要"B = "学编程!"print (A,end = ' ')print (B)