<commit_before>module Prints
  class Numere
    def self.pretty_print(numar)
      @numar = (numar.to_i) + 1

      puts "Pentru #{numar} avem urmatorul format:"

      (1..@numar).each do |count|
        out = ""
        (1..@numar-count).each { out+="#{count}" }
        puts out
      end
    end
  end
end

<commit_msg>urmarim sa avem urmatoarele 2 triunghiuri “combinate” pentru cazul in care n=3: 1 2 2 3 3 3 si 3 3 3 2 2 1<commit_after>module Prints
  class Numere
    def self.pretty_print(numar)
      @numar = numar.to_i

      puts "Pentru #{numar} avem urmatorul format:"
      out = ""
      @numar.downto(1) do |count|
        tmp = ""
        count.downto(1) { tmp+="#{count}" }
        out += "#{tmp}\n"
      end
      puts "#{out.reverse}\n#{out}"
    end
  end

end


{'fraction_non_alphanumeric': 0.13486005089058525, 'fraction_numerical': 0.024173027989821884, 'mean_word_length': 2.1606425702811247, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4501697', 'n_tokens_mistral': 324, 'n_tokens_neox': 305, 'n_words': 80}