View Code of Problem 98

start=input()
while True:
    l=[]
    l.append(input())
    if l[0] != '</xmp>':
        for i in range(4):
            l.append(input())
        name=l[0][l[0].index('>')+1:-5]
        for i in l:
            if 'In Stock' in i:
                print(name)
        l.clear()
    else:
        break

Double click to view unformatted code.


Back to problem 98