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

A piece of plywood 24 inches wide is cut into strips 2 1/2 inches wide. How many strips of this width can be cut?
How many bones does a full grown male have in his body?
A(n)________is what your body does in reaction to a stimulus.
How many bones does a full grown male have in his body?
Why was Rome's creation of a common currency so important?
what are two adjectives that describe Skeeter Phelan in the book called the help
Lisa wants to cover the top of the lid in beads. She has enough beads to cover 42 square centimeters. Find the area of the lid. Can Lisa cover the top in beads?
What are examples of weathering by wind
5x+10=24-2x what is this called?
Iron in the form of fine wire burns in oxygen to form iron (III) oxide. Write the balanced chemical equation.