PYTHON EXPRESSIONS
Solve the following expression:
1. 4 // 8 * 8
2. 2 + 3 * 6 // 3
3. int (2**3 // 5+ 6 / 5)
4. a = (7 + 3) - 8 // 4 * 2 + 3, find a
5. a = 2**(1 + 2) - 4 // 6 * 2 + 2, find a
6. Predict the output:
b ,k= 2,4
a = b * 3 // 4 - k // 4 + 8 - b - 5 // 8
print('a ', a, sep='--')
7. Predict the output:
b,k = 3,6
a = b + 2 // 3 - (k -2) // 3 + 7 - k
print('a ', a, sep='**')
8. Predict the output:
a, b = 3,2
c = a*b**a//b
print(c)
9. Predict the output:
a, b = 2, 3
print(10 // b ** 2 + (a % b))
10. Predict the output:
a, b = 3, 5
print(b // (a * 3) + (a + b * 2) + 2 ** 2)
Answers
Answered by
0
Answer:
use the above way 2 find ur ans and report the wrong answerer above.
Attachments:
Similar questions