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

Which is the solution to -3k-2k+12 = 2k-9?​
A diagram of a concrete walkway around a rectangular pool is shown. If the distances shown are measured in meters, find the total area of the concrete walkway.
Solve:2/3 - 4x +7-2= -9.x +5/6 x = -3/2 x = -2/3 X=2/3 X=3/2
Tacoma's population in 2000 was about 200 thousand, and has been growing by about 8% each year. If this continues, what will Tacoma's population be in 2013?
Which is a density-independent factor?
4. What does it mean when a solid white line separates a narrow bike lane from the right-most lane of traffic? A. Motor vehicles may not use the bike lane excep
According to this case study, what is an upcoming key technology that will be used in retail stores to improve customer service? And how it is currently being u
A drawing or illustration that visually represents a concept is known as a: a) line graph.b) map. c) diagram. d) bar graph. (edge 2020)
Which formation is one feature of karst topography?
The area of a rectangular room is 22m². Correct to the nearest square metre. The width is 3m, correct to the nearest metre. Find the greatest possible length of