WAP in python to enter two numbers then display the remainder?
Answers
Answered by
2
Answer:
The % symbol in Python is called the Modulo Operator. It returns the remainder of dividing the left hand operand by right hand operand. It's used to get the remainder of a division problem.
Answered by
3
Question:-
- WAP in python to enter two numbers then display the remainder.
Program:-
x=int(input("Enter first number: "))
y=int(input("Enter second number: "))
print("Remainder is: ",x%y)
Similar questions