Python3 integer division [duplicate]

Solution 1:

Try this:

a = 1
b = 2
int_div  = a // b