Help me in solving BM01 problem

My issue

My code

# Update the '_' in the code below

t = int(input())
for i in range(t):
    #Accept 2 integers inputs
    A, B = map(int(input()),int(input()))     
    #Sum of inputs
    S = A + B               
    #Product of inputs
    P = A * B               
    #Print the desired output for each test case

Learning course: Solve Programming problems using Python
Problem Link: CodeChef: Practical coding for everyone

The map function is not correctly used here. It takes a data type and then input value separated by a comma as following.

A ,B = map(int,input().split())

Here, split() function is used to separate both input values.

For additional information on that, you should check out the following link,
Python split() funtion