what is wrong in my code?

is
where
wrong-answer

#1

t=int(input())
while 1>t or t>20000:
t=int(input("reenter constraints 0<=t<=20,000
"))
la={}
lb={}
for i in range(t):
a=input().lower()
while len(a)!=3:
a=input("length exceed
").lower()
b=input().lower()
while len(b)!=3:
b=input("length exceed
").lower()
la*=list(a)
lb*=list(b)
acount=bcount=0
for i in range (t):
for j in range (3):
if la*[j]==“b” or lb*[j]==“b”:
acount+=1
elif la*[j]==“o” or lb*[j]==“o”:
bcount+=1
if acount==2 and bcount==1:
print(“yes”)
acount=0
bcount=0
else:
print(“no”)
acount=0
bcount=0


#2

t=int(input())

while 1>t or t>20000:

 t=int(input("reenter constraints 0<t,<20,000

"))

la={}

lb={}

for i in range(t):

a=input().lower()

while len(a)!=3:

     a=input("length exceed

").lower()

b=input().lower()

while len(b)!=3:

     b=input("length exceed

").lower()

la*=list(a)

lb*=list(b)

acount=bcount=0

for i in range (t):

 for j in range (3):

     if la*[j]=="b" or lb*[j]=="b":

         acount+=1

     elif la*[j]=="o" or lb*[j]=="o":

         bcount+=1


 if acount==2 and bcount==1:

      print("yes")

      acount=0

      bcount=0

 else:

     print("no")

     acount=0

     bcount=0

#3

Delete this question. If you don’t want to get suspended from forum.