print("hello"+"world")#默认end是换行
print("hello"+"world",end='/')
print("hello","world",end='/')#逗号代表空格
print("hello","world",end='',sep='')
输出结果:
helloworld
helloworld/hello world/helloworld
print("hello"+"world")#默认end是换行
print("hello"+"world",end='/')
print("hello","world",end='/')#逗号代表空格
print("hello","world",end='',sep='')
输出结果:
helloworld
helloworld/hello world/helloworld