Posts by sampersand
Ruby, 10 distinct, 35 chars t=/%/=~%/=%/ o=/%/=~%/==%/ t/o.to_f
Ruby, 19 bytes ->a,b{a|b==2?5:a+b} Try it online!
Ruby, 10 distinct, 35 chars t=/%/=~%/=%/ o=/%/=~%/==%/ t/o.to_f
Ruby, 19 bytes ->a,b{a|b==2?5:a+b} Try it online!