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

Can someone help me please ?????
Use the image below to answer the following questions
What do Crevecoeur's "Letters From An American Farmer" and the 1790 Naturalization Act have in common?
????????????????????????????
What poetic device is found in this scenario
When the Constitution was adopted in 1789, why was the federal government granted the authority to raise taxes? PBMF
Unusual normality How would you describe the author’s reaction to losing his things? How does his reaction relate to the title of this memoir?
Please help!!!!!!!!!
6 students share 4 bagels equally, how much does each person get
Sam pours himself 1/2 liter of lemonade. If he drinks half of the lemonade he pours, how much lemonade does he have remaining?