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 toy manufacturer uses 90 pints of plastic to make 600 action figures. If they use 810 pints of plastic in an 8 hour shift, how many action figures are made p
Which word BEST describes the theme of “The Gift of the Magi?” revenge freedom sacrifice jealousy
How were the revolutions of 1848 a test of the ideals of conservatism
What expressions are equal 10^5
Which was a cause of the stock market crash in 1929? A. Banks refused to lend investors the money they needed to keep buying stocks. B. Too few investors were
The function h(x) =x^2+3 and g(x)=x^2-6. If g(x)=h(x)+k, what is the value of k?
Janelle is making a poster. She cuts a triangle out of poster board. What is the area of the poster board that she has left?
The ability to make a medical appointment is considered a basic health literacy skill. select one: a. True b. False
When the government deregulates a product or service, what happens to it
Find the area of the circle with a circumference of 30π . Write your solution in terms of π and round to the nearest hundredth. Area in terms of π:____ Answer