Python Division without division operator the reminder sign problems | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Python Division without division operator the reminder sign problems

I want to code a division function without using the division operator , when I use Positive integers it works perfectly the quotient and the reminder , my problem is with the reminder when I use negative integers . This is my code https://code.sololearn.com/cJkUXYRE3qpr/?ref=app

11th Jul 2018, 10:05 AM
Hebah Binyahya
Hebah Binyahya - avatar
2 Respostas
11th Jul 2018, 10:22 AM
Maninder $ingh
Maninder $ingh - avatar
0
I like you code. I can't spot the error though. :( For the spellings... remainder numerator denominator
11th Jul 2018, 10:22 AM
James
James - avatar