SADWASDADSaD SADWASDADSaD
  • 16-07-2020
  • Computers and Technology
contestada

Consider the following code: x = 17 y = 5 print (x % y) What is output?

Respuesta :

tonb
tonb tonb
  • 16-07-2020

Answer:

2

Explanation:

The modulo operator returns the remainder after integer division.

17 / 5 has integer result 15 and remainder 2

Answer Link

Otras preguntas

write 0.26 as a fraction in simplest form
Choose the correct simplification of (2xy^2)^2(y^2)^3. A. 2x^2y^10 B. 4x^2y^9 C. 4x^2y^10 D. 2x^2y^9
an obtuse angle is an angle which is _______
Please walk me through how to solve these problems. If you can only solve one that’s fine, I just don’t know where to start. (This is geometry)
help me now where are you all helppppp​
Solve the equation. - 2(2x-4)= 4x​
Which of the following is NOT a question you could use when creating characterization? A. What kind of language do they use? B. How old are they? C. What are th
Middle SchoolWhat is the measure of ∠x ?Angles are not necessarily drawn to scale.
In the summer of 1964, I met someone, who, unlike all of my other acquaintances, always seemed to say precisely what she was thinking. Her name was Sally, and s
Graph the following lines on the coordinate plane: