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

Necesito un poema haiku Es urgente.
a student standing in an elevator at rest notices that her pendulum has a frequency of oscillation of 0.5 Hz. a. what is the length of the pendulum's string? b.
In hawks, the gene for feather color follows an incomplete dominance patter. The allele B produce black feathers. The allele W produces white feathers. A hawk w
Find the x- and y-intercepts of the graph of —2x + 5y = 18. State your answers as whole numbers or as improper fractions in simplest form.
Complete the table for the given rule. Rule: y=x-3y=x−3y, equals, x, minus, 3 xxx y 777 111 77
Which best describes the purpose of Stalin’s Five-Year Plans for Russia? a. to eliminate his political enemies b. to increase freedoms within the Soviet Union c
Given the rectangle find JL​
need help plz Hope everyone is well
Sebastian buys his coffee every month for $25 at a local coffee shop. At a local warehouse store with a $60 annual fee, he can purchase the same coffee for $15.
I need help with number 6, please, thank you