@[email protected] to Lemmy Shitpost • 10 months agoTrust the leprechaunslemmy.dbzer0.comimagemessage-square43fedilinkarrow-up1401arrow-down119
arrow-up1382arrow-down1imageTrust the leprechaunslemmy.dbzer0.com@[email protected] to Lemmy Shitpost • 10 months agomessage-square43fedilink
minus-square@AeonFelislinkEnglish2•10 months agoDownvoted for completely ignoring the part where there should be input.
minus-square@ieeelink1•10 months agoDownvoted for losing codegolf. Ruby, 11 bytes $><<$<.min Input: 3\n10 Output: 10 Pretty sure I score double points for readability
In [1]: print(min("3 10".split())) 10
Ruby, 3 bytes
p 3
Downvoted for completely ignoring the part where there should be input.
Get optimized
Downvoted for losing codegolf.
Ruby, 11 bytes
$><<$<.min
Input: 3\n10 Output: 10Pretty sure I score double points for readability