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

to which state did most Russian immigrants come to live?
turn -3/11 into a decimal
PPLLEEAASSEE HHEELLPPA rain gauge collected 2 1/3 inches of rain in October, 5 1/2 inches in November, and 3 3/8 inches in December. Find the total rainfall fo
You are running on the school's cross country team. We would expect your muscle cells to contain many ____________ to produce cellular energy.
What year did Alfred Wenger die?
Why are certain amino acids called essential amino acids? A because they are available in abundance B because they are not manufactured by the body C because
Can someone tell me where to put the numbers
What role do business cycles play in a market economy?
Diamond is one of several naturally occurring forms of carbon. one carat is defined to be exactly 0.200 grams. how many atoms of carbon are in a 0.75 carat diam
what is the greatest common factor of 36 and 40?