@nave@lemmy.zip to Lemmy Shitpost@lemmy.worldEnglish • 8 months agoI wishi.imgur.comimagemessage-square189fedilinkarrow-up1928arrow-down117
arrow-up1911arrow-down1imageI wishi.imgur.com@nave@lemmy.zip to Lemmy Shitpost@lemmy.worldEnglish • 8 months agomessage-square189fedilink
minus-squareGoddard Guryonlinkfedilink10•8 months agoThat won’t work tho, you need to make it sys.maxsize//2 to coerce the output into int form
minus-squareGoddard Guryonlinkfedilink1•8 months agoIIRC it doesn’t; that has caused me pain so many times when trying to generate fractional range
That won’t work tho, you need to make it sys.maxsize//2 to coerce the output into int form
range()
accepts floats, does it not?IIRC it doesn’t; that has caused me pain so many times when trying to generate fractional range