Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyRubyputs p inspectSingle-choice MCQ

What is the difference between `puts` and `p` for this array?

puts [1, 2, 3] p [1, 2, 3]