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

Discuss the value of youth participating in volunteer work​
5. All Earth's systems interact. The systems are constantly exchanging and
Amy,Tyrone, Nina, Jake, and Mandy are standing on line at the grocery store. Each one is wearing a different color shirt: red, green, orange, blue, and purple.
A good study environment will have plenty of ?_______ A, Clutter B. Light C. Noise D. Movement..... My guess is LIGHT
if z^2 is directly proportional to W and Z=4 when W=8
Which expression shows how 8⋅54 can be rewritten using the distributive property? 8⋅50+8⋅54 8⋅50+8⋅4 50⋅8+50⋅4 4⋅50+4⋅4
Walter buys a bus pass for $30. Every time he rides the bus, money is deducted from the value of the pass. He rode 12 times and $24 was deducted from the value
the set of whole numbers and their opposites​
You are baking cookies for your class. There are 23 total students in your class and you have baked 12 cookies. Write and solve an equation to find the addition
solve 2a=1/5. help me with this please a=