Complete the code to print a string with a newline using puts.
puts [1]The puts method prints the string and adds a newline at the end.
Complete the code to print a string without a newline using print.
print [1]The print method prints the string exactly as is, without adding a newline.
Fix the error in the code to show the string with quotes and newline using p.
[1] "Hello, world!"
The p method prints the string with quotes and adds a newline.
Fill both blanks to print a string with and without newline.
print [1] puts [2]
The first line prints "Hello" without newline, the second prints "World" with newline.
Fill all three blanks to print a string with quotes, without newline, and with newline.
[1] "Test" print [2] puts [3]
First line uses p to show quotes and newline, second prints without newline, third prints with newline.
