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

Which country dropped out of ww1 and wasn't present at the Versailles peace talk
Between 1805 and 1807, Napoleon defeated armies from all of the following countries EXCEPT: a. Prussia. c. Russia. b. Austria. d. Spain. Please select the b
Homeostasis is the body's ability to maintain constant _______ conditions when _______ conditions change. a. internal; external b. external; internal c. oxyg
Example of a counter root word
Compare Organisms that do not have ventilation system to ones that have one
Risniel has 7 dogs. Danishka has 2 dogs. How many more dogs does Danishka have than Risniel?
The Russian term glasnost refers to what? while perestroika refers to what?
An oligarchy is best defined as
what is epazote used for
If an object 18 millimeters high is placed 12 millimeters from a diverging lens and the image is formed 4 millimeters in front of the lens what is the height of