Python 3 integer division
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 5 Looping
--
Chapters
00:00 Question
00:29 Accepted answer (Score 260)
00:41 Thank you
--
Full question
https://stackoverflow.com/questions/1950...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #python3x #division
#avk47
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 5 Looping
--
Chapters
00:00 Question
00:29 Accepted answer (Score 260)
00:41 Thank you
--
Full question
https://stackoverflow.com/questions/1950...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #python3x #division
#avk47
ACCEPTED ANSWER
Score 269
Try this:
a = 1
b = 2
int_div = a // b