"print("hello" "world")输出的结果是helloworld,中间没有空格。这是因为在Python中,如果将两个字符串放在一起分别用引号括起来,它们在打印时会被自动连接起来,不需要使用"+"或","来连接,也不会插入空格。如果想在字符串之间插入空格,则需要在字符串中手动添加空格字符。以下是一些示例代码:

print("hello" + " world") # 输出结果为hello world,使用"+"号连接字符串
print("hello", "world") # 输出结果为hello world,使用","号连接字符串并自动插入空格
print("hello" + " " + "world") # 输出结果为hello world,手动添加空格字符连接字符串