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

Need help please !!!!!!!
PLEASE HELP!!! Fill in the blank in the following sentence with the appropriate word below :)surprise shawtyyyy... it's c... :D
describe the react of clans after hearing islam's message by muhammad
George earned e extra credit points. Kate earned 35 fewer extra credit points than George. Choose the expression that shows how many extra credit points Kate ea
What is the standard form of an equation of the line going through the points K(6,4) and L(-6,4)
3. Joseph took some sodium hydroxide solution in a petri dish and dipped a red litmus paper into it. The red litmus paper turned blue. He took vinegar in the sa
She has _____ her work a) started b) start c) starting d) starts
3. At 35 C, a sample of gas has a volume of 256 ml and a pressure of 720.torr. What would the volume be if the temperature were changed to 22 C and the pressur
A supervisor records the repair cost for 17 randomly selected stereos. A sample mean of $66.34 and standard deviation of $15.22 are subsequently computed. Deter
What are the effects of Speciation & Extinction on biodiversity​