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 is the past tense of get​
A 650-kg roller coaster starts from rest at the top of a 80 m hill. a) What is the rollercoaster's Gravitational Potential Energy at the top of the hill? b) Ass
This earth system is concerned with all life on the planet
Which of the following elements of the US Constitution has its roots in the English Bill of Rights? the right to due process protection from being held without
can someone help? pls i really need it right now ​
Can someone please explain​
What is the run Of y = -5/3x + 4
Which statement correctly describes a chemical reaction? Reactants come out of a reaction. Energy is always released. Bonds between atoms break and reform. Prod
Escriba una frase usando el orden correcto de determinate,nombre y complemento.
When you divide a positive integers n by 4, the quotient is 6. Find the sum of all possible values of n.