![I am doing this thing for school where i am supposed to make a function that takes a text file with a number on each row and a number to search for I am doing this thing for school where i am supposed to make a function that takes a text file with a number on each row and a number to search for](https://preview.redd.it/i-am-doing-this-thing-for-school-where-i-am-supposed-to-v0-481sysl45qra1.png?auto=webp&s=a321592382087345733abf81b5d36208869e185d)
I am doing this thing for school where i am supposed to make a function that takes a text file with a number on each row and a number to search for
![1,120 – The Iteration Variable in a foreach Loop Is Read-Only | 2,000 Things You Should Know About C# 1,120 – The Iteration Variable in a foreach Loop Is Read-Only | 2,000 Things You Should Know About C#](https://2000thingscsharp.files.wordpress.com/2014/06/1120-001.png)
1,120 – The Iteration Variable in a foreach Loop Is Read-Only | 2,000 Things You Should Know About C#
![Using the 'map' method in Ruby. Map is a Ruby method that you can use… | by Catalin Ionescu | Making Sense of Rails Using the 'map' method in Ruby. Map is a Ruby method that you can use… | by Catalin Ionescu | Making Sense of Rails](https://miro.medium.com/v2/resize:fit:1400/1*jGz1Qd6SPsejzXKP-ml7dw.png)
Using the 'map' method in Ruby. Map is a Ruby method that you can use… | by Catalin Ionescu | Making Sense of Rails
![Could you walk me through any improvements on this code? Its mainly involving iteration of nested hashes and arrays : r/ruby Could you walk me through any improvements on this code? Its mainly involving iteration of nested hashes and arrays : r/ruby](https://preview.redd.it/vnpzzgnishl21.png?width=1273&format=png&auto=webp&s=7701aa56526d9717b77255782fdd8236f7b587fc)