nave@lemmy.zip to Lemmy Shitpost@lemmy.worldEnglish · 1 year agoI wishi.imgur.comexternal-linkmessage-square179fedilinkarrow-up1916arrow-down118
arrow-up1898arrow-down1external-linkI wishi.imgur.comnave@lemmy.zip to Lemmy Shitpost@lemmy.worldEnglish · 1 year agomessage-square179fedilink
minus-squareGoddard Guryonlinkfedilinkarrow-up10·1 year agoThat won’t work tho, you need to make it sys.maxsize//2 to coerce the output into int form
minus-squareGoddard Guryonlinkfedilinkarrow-up1·1 year 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