My issue
for _ in range(3):
A, B = map(int, input().split())
C = A2 + B3 + (A2 + B3)2 + (A2 + B**3)**3
print(C)
please share explanation of each line. I am very thankful to you.
My code
# Solution as follows
for _ in range(3):
A, B = map(int, input().split())
C = A**2 + B**3 + (A**2 + B**3)**2 + (A**2 + B**3)**3
print(C)
Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone