here is my code so far
def main():
dividend = int(input("Please enter an integer for the dividend: "))
divisor = int(input("Please enter an integer for the divisor: "))
quotient = dividend//divisor
remainder = dividend%divisor
print("The quotient is",quotient, "The remainder is",remainder)
main()
the output is---
Please enter an integer for the dividend: 6
Please enter an integer for the divisor: 5
The quotient is 1 The remainder is 1
However, I need a comma between the two statements so it reads like this
Please enter an integer for the dividend: 6
Please enter an integer for the divisor: 5
The quotient is 1, The remainder is 1
If I do this---
print("The quotient is",quotient,"," "The remainder is",remainder)
I get a space between 1 and the comma like this
The quotient is 1 , The remainder is 1