My issue
Update the function given in the IDE to output the following to the IDE by printing from inside the function.
š“
2
+
2
ā
š“
ā
šµ
+
šµ
2
A
2
+2āAāB+B
2
( * means multiplication)
š“
+
šµ
A+B
Check sample output below.
My code
def compute_value(a, b):
# update your code below this line
t = 3
for _ in range(t):
A, B = map(int, input().split())
compute_value(A, B)
Learning course: Python Programming
Problem Link: Return values in Python Programming