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

he periodic table that our most current version of the periodic table is based on, was created by _____. Responses Mendeleev Mendeleev Moseley Moseley Seabor
The sardines are not the jellies’ resource population or consumer population, but they still caused the jelly population in North Benguela to increase. How did
Write a Response to Literature How do the poems connect to your own experiences?
Construct Scatter Plots and Examine Association​
Rather than read a variety of websites, Mckenzie relies on a blog post called "The Skimm" for the latest news and information on current events. According to ag
find the algebraic sum of the moments of the system of forces given in the diagram (I)about point A (ii)about point B
Question 3 (1 point)How many years will it probably take you to earn a bachelor's degree if you are goingto school full time and you must earn 120 hours of stud
What are the prime numbers out of 13,27,81,21,43,48,23,39,45
Multifactor authentication (MFA) is considered an important security control for what purpose?
Use the lattice algorithm to perform each of the following. a. 4459+4767 b. 5823+7897 a. 4459+ 4767 = b. 5823+ 7897 =