Created by alex-juge84
Created on January 02, 2022
183 Bytes
from math import * def diveuc(a,b): q = a // b + 1 * ( b < 0 and a % b != 0 ) r = a % b - b * ( b < 0 and a % b != 0 ) return q, r