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

A knitting club used 112 feet of yarn to knit 4 blankets, At this rate, how many blankets can be made from 196 yards of yarn. Please explain how to solve. Thank
wes bought 62 songs. he wants to put an equal number of songs on 5 different discs. how many songs will be left over?
Complex organisms with gills and lungs were major life forms that existed in the
One way that fossils form by the dead organism's soft tissue is ________ by sediments such as sand. A. repaired B. replaced C. preserved D. bonded
I'm the United States, the concept of political parties began during the administration of
Which best describes why the sizes of farms in New England were different from farms in the southern colonies?
poezii in rusa despre iarna
Which of the following statements describes an anticyclone? a. It is an area of low pressure. b. It is an area of high pressure. c. It has air masses that me
if character traits are not clearly stated how can a reader figure them out
There are 101 students going on a field trip to pan for gold. If they are going in vans that hold 9 students each, how many vans are needed? How many students