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

Balance the following chemical equation (if necessary):
FIFO can be used by corporation only. Select one: True False
36÷(9÷3/4)-2.4 find the answer
Each face of a pyramid is an isosceles triangle with base 30m and vertical height 22m. Calculate the area of one face.
A crossover in meiosis is an exchange of genetic material between A) sister chromatids of the same chromosome. B) sister chromatids of homologous chromosomes.
You invested $1,810 into an account which pays 3% interest per year. How much interest will you earn after a year?​
What are the area and perimeter of the figure? Include the units in your answers (units, square units, or cubic units). The area is . The perimeter is . Skip to
can someone help me on this please
Ways on how to keep our house and surroundings clean.​
ABC is a right-angled triangle. Angle B= 90 Angle A= 36 AB=8.7cm Work out the length of BC