Seudónimo Seudónimo
  • 09-01-2021
  • Computers and Technology
contestada

Sonja is writing a program to compare two numbers and print the larger number. Which of these should be used?
a while loop
if and else
if, elif, and else
a string variable

Respuesta :

trduunze trduunze
  • 09-01-2021

Answer:

if and else

Explanation:

if (num1 > num2):

   print(num1)

else:

   print(num2)

Answer Link

Otras preguntas

Mark charged a battery. Each minute, the percentage of the battery's capacity that was charged increased by 2 . 5 2.52, point, 5 percent. After 1 7 1717 minut
10 more than 2 times a number is equal to 2 times the number plus 50. What is the number?
a fact from a website would be an example of A. a supporting detail from common knowledge. B. a supporting detail from other sources. C. a claim. D. a suppor
Which situation most likely results when the government lowers interest rates to banks?
What were some problems facing traders following the Silk Road?
Which description defines the term industrial revolution
Please help me I would appreciate it
Which of these would be a violation of the us constitution if it was written into a state constitution
Hurry!!!!!????!??? I need an answer fast!!!
If the perimeter of an equilateral triangle is 18. What is the length of this triangle