Quiz: Printing Shapes

Solidify your knowledge of printing shapes through a short quiz.

We'll cover the following...
1

What is the output of the following code?

puts "ruby" * 2
A)

rubyruby

B)

rruubbyy

C)

2ruby

D)

2r2u2b2y

E)

ruby2

Question 1 of 50 attempted
Access this course and 1400+ top-rated courses and projects.