I am trying to solve the clock angle problem and there I had to take input like below:
Input
2
5 30
6 00
where The first line contains the number of test cases T . Each test case contains two integers h and m representing the time in an hour and minute format.
I am trying to take input like this
size=int(input())
for i in range(size):
h,m=list(map(int,input().split(' ')))
but I'm unable to store the value for clock angle calculation as it's replacing the previous value.