Runtime error(other) in CONFLIP

Hi - can someone please help review my code for the CONFLIP problem. I am new to programming and while the sample test cases are running - i am unable to figure out why i am getting the error.

t=int(input())
for _ in range(t):
g=int(input())
for _ in range(g):
(i,n,q)=map(int,input().split())
start=[i]n
j=1
while j<=n:
k=0
while k<j:
start[k]=start[k]
(0-1)
k=k+1
j=j+1
count_i=start.count(i)
count_noti=n-count_i
if q==i:
print(count_i)
else:
print(count_noti)