Edhesive 3.4 Code Practice: Question 1
Answers
Answered by
1
Answer:
3.4 Code Practice: Question 1 - Repl.it
Powerful and simple online compiler, IDE, interpreter, and REPL. Code, compile, and run code in 50+ programming languages: Clojure, Haskell,
Answered by
4
Explanation:
n = float(input("Enter the Numerator: "))
d = float (input("Enter the Denominator: "))
if (d != 0):
print ("Decimal: " + str(n/d))
else:
print("Error - cannot divide by zero.")
Similar questions