My issue
My code
import re
t = int(input())
for i in range(t):
N = int(input())
y = input()
z = input()
a = 0
b = 0
# for y in y:
# if (y != 0):
# a += 1
# else:
# break
a = [x for x in y.split('0')]
b = [w for w in z.split('0')]
c = max(a).replace(" ","")
d = max(b).replace(" ","")
print(a)
print(c)
print(len(c))
print(b)
print(d)
print(len(d))
count_s = len(c)
count_t = len(d)
if (count_s > count_t):
print("Om")
elif (count_t == count_s):
print("Draw")
else:
print("Addy")
Problem Link: CS2023_STK Problem - CodeChef