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 of the following is not included when analyzing for supporting details
Which of these statements describes how MOST conscientious objectors were treated during World War I?
Look at the food web shown above. Which of the organisms act as producers in the ecosystem
Marking brainliest!! I will know if your wrong.. Imagine you are an astronomer who recently discovered a new planet orbiting a distant star. Which set of charac
Mary and her sister mona decide to rent a paddleboat for 2 hours at a total cost of $25 which statement describes the relationship
need all answers will mark brainliest 1. Monopoly type that includes public utility companies 2. Monopoly type determined by small market size 3. Market structu
Given g(x) = x^2 - x, find g (2/3).
Ratio of a to c Please answer
You cannot take a logarithm for a negative number. Why do you suppose this is true?
please help and look at the picture