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

what are linear equations and functions?​
Which are features of myths? Select four options.
peace and trust slogan
Match the muckraker to the important work they authored. Ida M. Tarbell Jacob Riis Upton Sinclair Nellie Bly How the other Half Lives History of the Standard O
A line passes through the point (-2,7) and has a slope of 5/2 Write an equation in slope-intercept form for this line.
What's the sum of an infinite geometric series if the first term is 8 and the common ratio is 1∕2?
HELP.....................
B. e th noun cause in each sentence. 1. Mary thinks that her mum will get the part-time job.​
Pre-calc What is the remainder when x +4 is divided by x - 2?
PLEASE ANSWER FAST!!!!!!!!!!! Why was expansion and trade important for the growth of the empire?