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 is not a characteristic of imprinting? It cannot be changed. The mother must be present. It is a survival behavior. It is inherited.
Complete each sentence with the correct form of faire. Les étudiants______ attention au professeur. Véronique______ une randonnée à la montagne. Nous ___
Choose the system of equations that matches the following graph: picture of coordinate plane with line y equals negative 3x minus 2 and line y equals negative
Identify the independent and dependent variables in the gummy bear experiment
I need help with number 9!!
Onde e quando surgiu a intervenção e a instalação artística?
which are the two alternatives for pasting copied data in a target cell or a group of cells ? you can right-click the target cell or cells and then select the :
Which events in chapter 8 of The Strange Case of Dr. Jekyll and Mr. Hyde develop the theme "It is important to trust one’s instincts”? Check all that apply. P
Slave religion: died out by the early 1820s because of strong opposition from whites. existed without approval from masters, who thought that letting slaves lea
The annexation of Texas and the Mexican cession are best described as efforts by the United States to