Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
voiid41587y@MatanRad imagine if we reverse 2017, we get the 7102. You don't wanna try that -•√π÷~`
-
vikaskr13617yonce I wrote
int(str(1234)[::-1])
to fool lab instructor for grades, coz i didn't knew actuAL way -
voiid41587y@romangraef yeah, it's another way of saying (int) 4 / 3
So: (int) 4 / 3 = int (4/3). It's simply a matter of taste -
voiid41587y@romangraef I see it's redundant. Thanks for pointing it out. It's all integer division so no need for casting.
My time machine...
rant