New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Ruby puts and p
in Ruby what is the difference between p and puts?
1 Answer
+ 2
Run the following
puts "hello"
p "hello"
You will see that p outputs a raw string showing the string notations