3. puts for printing

3.1 I love ice cream

In Ruby puts is primarily used for printing.

Here we will print “I love ice cream” using puts.

Execute the code shown below to see the result.