Computer Science, asked by jenilmaru17, 6 months ago

Evaluate the following expression: 6 * 3 + 4**2 // 5 – 8​

Answers

Answered by armanpatt1234
58

Answer:

6*3+4**2//5-8

=(6*3)+(4**2//5)-8

=18+3-8

=21-8

=13

Explanation:

1. IN PYTHON ** MEANS POWER. SO HERE 4**2 IS 4^2=16 .

2. // WILL REMOVE DECIMAL POINT. SO 16//5 IS 3 (16/5=3.2).

Answered by SaurabhJacob
4

The given expression's evaluation comes to be 13.

According to the Python Programming Language,

The exponentiation operator means to raise the power of the number. As in this expression 4 raises to the power of 2.

This floor division operator means the traditional division but the quotient is converted to a whole number.

And, the other operators work the same as traditional operators.

So, The expression evaluation will be,

                                    =6*3+4*2//5-8

                                    =6*3+16//5-8\\=18 + 3-8\\=21-8\\=13

Hence the answer comes to be 13.

Similar questions