puts会识别双引号" "内的转义符,每打印一串信息,在结果后面自动换行。 print也会识别双引号" "内的转义符,但每打印一串信息, 不会在结果后面自动换行。 puts "a","b","\nc" a b c print "a","b","\nc" ab c