diwashrajendra diwashrajendra
  • 27-01-2021
  • Computers and Technology
contestada

Guess the output of this code:print( (3**2)//2 )

Respuesta :

jacobEwing
jacobEwing jacobEwing
  • 27-01-2021

Answer:

Assuming that's in python, the answer would be 4

Explanation:

The ** operator is for raising a number to a power.

The // operator returns the number of times the right number can fit into the left (i.e round division).

So the answer would be three squared over two rounded down, or 4.

Answer Link

Otras preguntas

I need some helpppppp
What prevented the lapita, polynesians, and others from developing an empire in oceania and nearby regions of the world?
6(41 - 21) - 6(20 - 2) =
Reacting molecules must hit each other with sufficient energy in order to form products,what theory is it
the moral framework that highlights Universal moral truths and emphasizes doing one's duty is referred to as
What is the soft layer of the mantle which slowly flows?
Which of the following is not an authoritarian form of government? A. Totalitarianism B. Direct democracy C. Absolute monarchy D. Dictatorship
How can you convert a temperature expressed in degrees celsius to kelvin?
Anna is no more than 3 years older than 2 times Jamie’s age. Jamie is at least 14 and Anna is at most 35. Which system of linear inequalities can be used to fin
Writing to explain. You are allowed. To spend. $125. For new. Clothes. You find a sweater that costs. $29.99, a jacket that costs $35.00. And 2. Pairs