# section_5/part_1/answer.rb # 5-1-while.rb n = ARGV[0].to_i i = 1 while i <= n print i, "\n" i += 1 end