풀이 : 2중 for문을 사용하여 출력하시면 됩니다.
코드
count = gets.to_i (1..count).each do |i| (1..i).each do print "*" end puts end
코드 링크