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

Find the measure of the indicated angle to the nearest degree. 7 9 12 ? 49⁰ O53⁰ 41° 37⁰
Paul Stafford and Al Harrison, from NASA, and Jim Webb, a NASA Administrator, have different points of view regarding the 'race to space'. Compare and contrast
Evaluate:[tex]\bf{\sum^6_{n=0\:}(3)^n}[/tex]Need help A.S.A.P., thank you! :)
simplify 9+ (-2)^3 HELP PLEASE
Write the ion symbol for an atom with the given number of protons and electrons. 55 protons and 54 electrons
The home inspector should measure the _____ depth of insulation observed at the unfinished attic floor.
Which of these is an example of an idiom? A. It was fun to watch my baby sister play in the field of grass. B. I wasn't sure why he was angry. His mood came out
Which continent is Turkey in? a| Asia b| Africa c| Europe d| North America
Which was a result of the south vietnamese surrender? the establishment of vietnamization the implementation of the paris peace accords the attack on the capita
Pls help asap write a half of page answering the questions.