Computer Science, asked by iamsagnik3622, 9 months ago

Edhesive 3.4 Code Practice: Question 1

Answers

Answered by RishiAEC
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 smartyaryan143
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