Write a program to print division result and remainder of two numbers | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Write a program to print division result and remainder of two numbers

do the. program

30th Jul 2017, 4:40 AM
Sagnik Paul
Sagnik Paul - avatar
2 Answers
+ 10
Is it your homework?
30th Jul 2017, 4:50 AM
Sachin Artani
Sachin Artani - avatar
+ 7
def hw(x,y): print(x//y) print(x%y)
30th Jul 2017, 4:45 AM
Pixie
Pixie - avatar