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

How many days are in 15 years?
Group therapy is typically more effective than individual therapy for
1) Lee y plantea una ecuación que sea útil para resolver cada ecuación. a. El perímetro de un jardín rectangular es de 58 m. Si el lado mayor mide 11 m mas que
Only a _______ technician may wear the ASE insignia on his or her uniform. A. full-time B. certified C. qualified D. dues-paying
A cone has a volume of about 28 cubic inches. Which are possible dimensions for the cone?
Help please..............
Which event provided an opportunity for L'Ouverture to establish power and rid Haiti of both British and Spanish influence? A.) Great Britain's takeover of the
During exercise, athletes should drink fluid at rates that A. exceed their sweat rates. B. are less than their sweat rates. C. are less than 0.5 lite
Blood returns to the heart via the _____. blood returns to the heart via the _____. aorta pulmonary arteries pulmonary veins aorta and pulmonary arteries aorta
The tree in Carlos backyard is 5 meters high. How high is it in centimeters?