Sha256: b7e48144e7a45974cb1323a6f0ec611a9e44e69230e06c96ad8638bb13668468

Contents?: true

Size: 103 Bytes

Versions: 16

Compression:

Stored size: 103 Bytes

Contents

# section_6/part_2/answer.rb
# 6-2-array.rb
nums = [3, 1, 4, 1, 5]

nums[0] = ARGV[0].to_i

print nums

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ruby_learner-1.2.0 contents/questions/sequential_check/section_6/part_2/lib/answer.rb
ruby_learner-1.1.15 questions/sequential_check/section_6/part_2/lib/answer.rb
ruby_learner-1.1.14 questions/sequential_check/section_6/part_2/lib/answer.rb
ruby_learner-1.1.13 questions/sequential_check/section_6/part_2/lib/answer.rb
ruby_learner-1.1.11 questions/sequential_check/section_6/part_2/lib/answer.rb
ruby_learner-1.1.10 questions/sequential_check/section_6/part_2/lib/answer.rb
ruby_learner-1.1.9 questions/sequential_check/section_6/part_2/lib/answer.rb
ruby_learner-1.1.8 questions/sequential_check/section_6/part_2/lib/answer.rb
ruby_learner-1.1.7 questions/sequential_check/section_6/part_2/lib/answer.rb
ruby_learner-1.1.6 questions/sequential_check/section_6/part_2/lib/answer.rb
ruby_learner-1.1.5 questions/sequential_check/section_6/part_2/lib/answer.rb
ruby_learner-1.1.4 questions/sequential_check/section_6/part_2/lib/answer.rb
ruby_learner-1.1.3 questions/sequential_check/section_6/part_2/lib/answer.rb
ruby_learner-1.1.2 questions/sequential_check/section_6/part_2/lib/answer.rb
ruby_learner-1.1.1 questions/sequential_check/section_6/part_2/lib/answer.rb
ruby_learner-1.1.0 questions/sequential_check/section_6/part_2/lib/answer.rb