7 lines
86 B
Ruby
7 lines
86 B
Ruby
5.times do |i|
|
|
# i goes from 0 to 4
|
|
(i+1).times do
|
|
print "*"
|
|
end
|
|
puts
|
|
end
|