Post History
Ruby, 58 bytes Simple eval solution. Using ** for exponentiation. ->a,b,c{%w[+ - * / % **].select{eval("#{a}#{_1}#{b}")==c}} Attempt This Online!
Answer
#1: Initial revision
# Ruby, 58 bytes Simple eval solution. Using `**` for exponentiation. <pre><code class="lang-ruby">->a,b,c{%w[+ - * / % **].select{eval("#{a}#{_1}#{b}")==c}}</code></pre> [Attempt This Online!](https://ato.pxeger.com/run?1=m72kqDSpcsGiNNulpSVpuhY3rXTtEnWSdJKrVcujtRV0FbQU9BVUFbS0YvWKU3NSk0uqU8sSczSUlKsTa5Wr4w2BRFKtkqatbXJtLcSEVQUKadFGOkY6JrEQgQULIDQA)