4 lines
104 B
Ruby
4 lines
104 B
Ruby
|
MAX = 200
|
||
|
MIN = 150
|
||
|
p File.readlines("values.dat").map { |s| s.to_i }.reject { |v| v < MIN || v > MAX }
|