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

Summary about the poem “I, Too” by Langston Hughes
Match the term with its description. Match Term Definition Chloroplast A) A type of sugar that is produced during photosynthesis to store chemical energy Chloro
Explain why plants need sunlight. Sunlight is used to help release waste products, such as oxygen, in plants. Sunlight is used to help release waste products, s
Multiply. [−427⋅(−18)]⋅(−389)⋅(−1) What is the product? Enter your answer in the box
please answer asap!!!!!!
Information about conditions that require adjustments in dosage of reasons to discontinue the drug are found in the __________ section of the package insert.
can i have an explanation of this please. i dont understand much
How many times larger is a nerve cell than a cheek cell?
Explain Why cellular respiration is important to humans
How do I explain evidence? Like how do I get the evidence part for the statement ( my reasoning is “ they both have the legislative and executive branch”)