tystevens53331 tystevens53331
  • 08-05-2024
  • Engineering
contestada

What does the following function print for n1=12 and n2=15?
a. def div(n1, n2):
b. if n1 % n2 == 0:
c. return n2 else:
d. return div(n2,n1%n2)
e. print(div(12,15))

Respuesta :

Otras preguntas

Suppose P is between M and N. If MN = 10, MP = x-3, and PN = x+1, what is the value of x?
Must the difference between 2 rational numbers be a rational number?
Why do both ways of writing the numbers as ten and ones describe the same number?
30,050,000 in scientific notation
Which colonial American idea comes from both Thomas Paine's "Common Sense" and the Mayflower Compact?
Isaac drinks 8 glasses of water each day he says he will drink 2920 glasses of water in a year that has 364 days
Which expressions have a value of 18? Choose all answers that are correct. A. –3 – 21 B. 7 – (–25) C. 34 – 16 D. –4 – (–22)
The closeness of a measurement to the actual value of what is being measured
Which principle was built into the Constitution?
What is 0.65 as a fraction in simplest form