gabbytrujilloo3038 gabbytrujilloo3038
  • 17-12-2020
  • Computers and Technology
contestada

Write a program that takes two decimal numbers as input and print the largest. If the numbers are equal, print one of them.

Respuesta :

Cytokine
Cytokine Cytokine
  • 17-12-2020

print(max(float(input("Enter a decimal number: ")),float(input("Enter a decimal number: "))))

This would be the simplest way to do it. Best of luck.

Answer Link

Otras preguntas

Which is abiotic? A. Tree sap B. Insect C. Sunlight D. Wood table
Simplify. 2y -3 + 3y + 6. A 8y B 5y
Which of these metals are magnetic?
France allied itself with America because A -the american rebels had modeled their movement after the French revolution B- France wanted to weaken britain C- Fr
what are two major challenges resulting from the increasing global population
Consider the pattern below 5+5/3+
What is the word for sandwich in mexico and spain
The ideas of Hammond are most clearly an example of which of the following mid-19th century developments? (5 points) The increasingly liberal nature of slavery
How many vertices are in the polyhedron?
Suppose a system has two modules, A and B, that function independently. Module A fails with probability 0.24 and Module B fails with probability 0.38, when the