Sha256: fe2a7eae76844d7165f168ac7306d9d3ecde62edff8248c6e70d7afcc8e3347e
Contents?: true
Size: 209 Bytes
Versions: 11
Compression:
Stored size: 209 Bytes
Contents
# section_5/part_2/answer.rb # 5-2-times.rb names = %w[tanaka nakamura sasaki suzuki] index = 0 names.size.times do puts names[index] index += 1 end # add your code. names.each do |name| puts name end
Version data entries
11 entries across 11 versions & 1 rubygems