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

Express 56.4% as a fraction in simplest form.
Discribe the hardships of moving west
Discription of application of the energy source
a nst 5. which circuit ould the light In bulb glow? mains Ara. Lal charge WOOD ect
What do automobile makers mean when they say their cars are more powerful than their competitors'cars
What likely explain the poor standing of Leopold II among historians today
Which issue is Jackie Robinson addressing in his letter to President Eisenhower?
Do I nse as germes tne e us r smsh amma n to moose n
Which of the following excerpts is an example of metaphysical conceit? Busy old fool, unruly sun, Why dost thou thus Through windows and through curtains call
What type of government is based on the idea that all citizens are equal before the law and should have the opportunity to hold and use political power?