brianfede27
brianfede27 brianfede27
  • 21-10-2020
  • Computers and Technology
contestada

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

Respuesta :

Cytokine
Cytokine Cytokine
  • 22-10-2020

In python the % operator is modulo. Modulo returns the remainder of two numbers.

19 % 5 = 4 therefore,

print(x%y) would output 4

Answer Link

Otras preguntas

4x+5y=20 write this equation in slope intercept form
The first compact microwave ovens were sold in 1960. Everybody didn’t use them until the 1980’s.a. comma b. and c. or d. but e. because which one would be
I am trying to get the intersection of 8-16-24-32 and16-32-48
what percent of 150 is 60?
Why is there no ocean-continent divergence? I need to know I'm just in 6th grade
What details from the may 15th entry prove that Charlie's intelligence is growing and increasing daily ?
your body consists of 7/10 water. is more than 1/2 your body water. explain
A baseball diamond has the shape of a square with side lengths of 90 feet. A catcher wants to get a player running from first base to second base out.  How far
the interaction between mosquitoes and human beings is called ?
A water molecule gains enough energy to enter the gas phase is chemical or physical?why?