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

Question 1 (Fill-In-The-Blank Worth 1 points) Write the verb in parentheses in the imperfect tense. Yo___________en México. (estar) Answer for Blank 1:
Which did not increase tension between Britain and the colonies in the period following the French and Indian War? A. Sugar Act B. Navigation Act C. Stamp Act
List the 4 aspects of "American Utopia" and how it is just specific to the U.S.'s development as a nation
Review the terms. Outgoing and reclusive. Which best identifies the relationship between these terms and explains how it influences their meaning? A. They are s
Frequent team huddles are important because:A)They improve communication among team members and make them accountable to one anotherB)They are good platforms fo
Find the sine function that is represented in the graph.
Please answer by put the letter than answer, thank you
Brenda is finding the product of –3r and. Is she correct? If not, what changes should be made?
99 POINTS!! ASAP List 5 causes of the Afganistan War PLEASE
Find the constant of variation if x and y vary directly and x = 6 when y= -2/3 ? a. k= 5/22 b. y=5 c. y=22/5 d. y=1/5