natecamp22 natecamp22
  • 19-10-2020
  • Computers and Technology
contestada

3.4 Code Practice: Question 2

Respuesta :

fnej
fnej fnej
  • 22-01-2021

Answer:

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.")

Answer Link

Otras preguntas

whats the standard form 4 tens + 6 tens
in 1587 more than 100 settlers disappeared from this island
The United States Highway System is a _____________ in the United States numbered within a nationwide grid.
how do you write 309,017 in word form
Did the renaissance era showed a gradual change from the feudal system to the modern state?
The challenge in applying utilitarianism is that (Points : 1) it cannot distinguish among different kinds of pleasures. it is difficult to calculate the various
solve for x:|3x + 12|=18
What is changed when matter undergoes a physical change? Give an example to explain your answer please. :)
What is the definition of to squeeze a gas into a smaller space
How would i approximate each irrational square root number to the nearest 0.05? 34, 82, 45, 104, -71, and -19