Skip to content
Home » Python program to divide two numbers

Python program to divide two numbers

Below is the python program to divide two given numbers

# Division of two numbers
n=float(input("Enter numerator:"))
d=float(input("Enter denominator:"))
res=n/d
print("Quotient=",res)

Output:

Enter numerator:75
Enter denominator:6
Quotient= 12.5