divmod en python code example
Example: python divmod
a = 6
b = 4
# a // b = 1
# a % b = 2
print(divmod(a,b))
>> (1, 2) # tuple
print(*divmod(a,b))
>> "1 2"
a = 6
b = 4
# a // b = 1
# a % b = 2
print(divmod(a,b))
>> (1, 2) # tuple
print(*divmod(a,b))
>> "1 2"