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

when a speaker qualifies an opinion, what does that show​
Noah is a budding photographer who is proud of his work. He wants to share his photos with others online. Which of the following is Noah MOST likely to use to s
Two ways the environmental impacts of mining can be reduced
Which democratic ideal came from the Romans? civil rights separation rights property rights marital rights
Which ordered pair is solution of the equation 5x+y=-23? a. (-3, -4) b. (-5, -3) c. (-4, -3) d. (-3, -5)
Joe works for a company that has a traveling sales force. The company has asked Joe to research a way for the sales force to have real-time information on the a
i need help with finding the solution
[tex] {7x}^{2} - 16 = 8[/tex]​
How is Whitman's attitude toward death in "Song of Myself" similar to Dickinson's attitude in "712: Because I could not stop for Death"? O A. Both poems suggest
2. What is espionage? A security B diplomacy C spying D intelligence