113k views
0 votes
2.3 Code Practice: Question 1

User Ashley Lee
by
5.7k points

1 Answer

5 votes

Answer:

a=int(input("Enter a numerator: "))

b=int(input("Enter a divisor: "))

quotient=a/b

remainder=a%b

print("Quotient is: " + str(int(quotient)))

print("Remainder is: " + str(int(remainder)))

Step-by-step explanation:

Hope this helps lovely :)

User Nikola Schou
by
5.9k points