unknown152714 unknown152714
  • 03-11-2020
  • Computers and Technology
contestada

Write a program that will input two numbers and print the larger number on the screen.

Respuesta :

Cytokine
Cytokine Cytokine
  • 03-11-2020

num1 = float(input("Enter the first number: "))

num2 = float(input("Enter the second number: "))

if num1 > num2:

   print(num1)

else:

   print(num2)

I hope this helps!

Answer Link

Otras preguntas

What is a Demographic
The perimeter of a quarter circle is 14.28 miles. What is the quarter circle's radius?
Why doesn't Jean's father give money to beggars? series of 4 radio buttons He is poor himself. He fears he might catch a disease from them. If he gave to one, t
When analyzing tree rings, what do scientists assume a thin ring indicates?
Drag each label to the correct location on the chart. Classify each reaction as endothermic or exothermic.
Edgar Allan Poe uses many sound devices in his poem "The Bells." Which two words from the poem are examples of onomatopoeia?
Who votes for senator
Fundamental emotions or emotions that are learned and are highly complex True or false
For every touchdown scored by the Timberwolves the mascot does three backflips if the cheerleaders set off six confetti cannons how many touchdowns did the Timb
What happens during interphase? (1)The nucleus grows to its full size. (2)The cell grows to its full size. (3)The nucleus divides into two nuclei. (4)The c