Post History
Ruby, 35 bytes ->a{a.split.map{eval _1}.reduce :*} Try it online! Right tool for the job, I suppose. uses ruby 2.7+ features, so tio link will look different.
#1: Initial revision
# [Ruby], 35 bytes
<!-- language-all: lang-ruby -->
->a{a.split.map{eval _1}.reduce :*}
[Try it online!][TIO-kr2ybmqi]
[Ruby]: https://www.ruby-lang.org/
[TIO-kr2ybmqi]: https://tio.run/##KypNqvyfZvtf1y6xOlGvuCAns0QvN7GguqaiJrUsMUeholavKDWlNDlVwUqr9n9BaUmxQlq0krG2SaaCia5pplIsF0xM10TbMlPBSNcIi6A2qqCxtkGmgqEBkEQSNdA2zFQAEUqx/wE "Ruby – Try It Online"
Right tool for the job, I suppose.
uses ruby 2.7+ features, so tio link will look different.
