Add overround.rb
This commit is contained in:
parent
83d55c96db
commit
fb12fcc86d
3
overround.rb
Normal file
3
overround.rb
Normal file
@ -0,0 +1,3 @@
|
||||
def overround(prices)
|
||||
prices.sum { |p| 1.0 / p }
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user