Help me in solving BM10 problem

My issue

how to identufy this error

My code

# The code below is incorrect. Debug this code to solve the problem.

t = int(input())
for i in range(t):
    X, Y = map(int, input().split())
    prize_top10 = 10*X           
    prize_11to100 = 100*Y         
    print(prize_top10+prize_11to100) 

Learning course: Logic Building in Python
Problem Link: Practice Problem in - CodeChef

@abdul_86
your logic is not right

# Solution as follows

t = int(input())
for i in range(t):
    X, Y = map(int, input().split())
    prize_top10 = 10*X           
    #There was a logical error in this line. Rank 11 to 100 get Rupees Y each
    prize_11to100 = 90*Y        
    print(prize_top10+prize_11to100)
1 Like