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

A soccer player boasts that he is able to kick a ball past 100 yards on 5 consecutive tries. You know that he's usually able to kick that distance 20% of the ti
What is the best description of the evolution of camouflage by natural selection?
Environmental sociology is concerned with _______
How ions are formed for ionic bonds?
What is pigment mixed with in encaustic painting?
Napoleon sold the Louisiana Territory to the United States because he A. felt that the United States would be the best country to manage the land. B. was force
Complete the equations of the system in slope-intercept form. Use a decimal for the slope if necessary. Line 1 x y 0 3 1 5 Line 2 x y –1
__________ is the systematic self-observation and analysis of one’s conscious experience. A. Interrogation B. Introgression C. Internalization \ D. Introspect
A 1500 kg car drives around a flat 200-m-diameter circular track at 25m/s. What are the magnitude and direction of the net force on the car? What causes this fo
Which describes a difference between life in japan and life in the united states?