• + 0 comments

    what's te problem wit mine here

    x=int(input())
    temp=''
    book=[input().split() for i in range(0,x)]
    sea=0
    while True:
        temp=str(input())
        sea=0
        if temp!="":
            for z in range(0,len(book)):
                if temp in book[z][0]:
                    print(book[z][0]+'='+book[z][1])
                    sea=1
                    break
                elif sea==0 and z==(len(book)-1):
                    print('Not found')
        else:
            break
    
    x=int(input())
    temp=''
    book=[input().split() for i in range(0,x)]
    sea=0
    while True:
        temp=str(input())
        sea=0
        if temp!="":
            for z in range(0,len(book)):
                if temp in book[z][0]:
                    print(book[z][0]+'='+book[z][1])
                    sea=1
                    break
                elif sea==0 and z==(len(book)-1):
                    print('Not found')
        else:
            break