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

Someone help me on these questions please
What is 6558 ÷ 4 in long division?​
Which number line best shows how to slove -4 -(-6)
Bridging are members installed periodically between joists to ensure which of the following?
Which factor is NOT important to consider when buying a used vehicle?
Please pleas help me I’ll give Brainly if right
True or false most rocks are made up of just a few common minerals.
Alcohol and other drugs after mood and affect the mind by interfering with the central nervous system
Use the data in the paragraph below to make a table. Use your table to answer the question below. During the championship series, the school basketball team ear
What cat is known as a ""gentle giant"" and can reach up to 18 pounds?.