Buggy python submission (verdict: Runtime Error):
a,op,b=input().split()

while True:
    if op == "?":
        break
    else:
        if op == "+":
            print int(a)+int(b)
        elif op == "-":
            print int(a)-ing(b)
        elif op == "*":
            print int(a)*int(b)
        elif op == "/":
            print int(a)//int(b)
        else:
            print "error"

Fixed submission:
while True:
    a, op, b = input().split()
    if op == '?':
        break
    if op == '/':
        op = '//'
    print(eval(a + op + b))

Buggy python submission (verdict: Time Limit Exceeded):
a,op,b=input().split()

while True:
    if op == "?":
        break
    else:
        if op == "+":
            print(int(a)+int(b))
        elif op == "-":
            print(int(a)-ing(b))
        elif op == "*":
            print(int(a)*int(b))
        elif op == "/":
            Print (int (a) //int (b))
        else:
            print("error")

Fixed submission:
while True:
    a, op, b = input().split()
    if op == '?':
        break
    if op == '/':
        op = '//'
    print(eval(a + op + b))

Buggy python submission (verdict: Runtime Error):
while True:
    a,op,b=input().split()
    if op == "?":
        break
    else:
        if op == "+":
            print(int(a)+int(b))
        elif op == "-":
            print(int(a)-ing(b))
        elif op == "*":
            print(int(a)*int(b))
        elif op == "/":
            Print (int (a) //int (b))
        else:
            print("error")

Fixed submission:
while True:
    a, op, b = input().split()
    if op == '?':
        break
    if op == '/':
        op = '//'
    print(eval(a + op + b))

Buggy python submission (verdict: Runtime Error):
while True:
    a,op,b=input().split()
    if op == "?":
        break
    else:
        if op == "+":
            print(int(a)+int(b))
        elif op == "-":
            print(int(a)-int(b))
        elif op == "*":
            print(int(a)*int(b))
        elif op == "/":
            Print (int (a) //int (b))
        else:
            print("error") 

Fixed submission:
while True:
    a, op, b = input().split()
    if op == '?':
        break
    if op == '/':
        op = '//'
    print(eval(a + op + b))

Buggy python submission (verdict: Runtime Error):
while True:
    a,op,b=input().split()
    if op == "?":
        break
    else:
        if op == "+":
            print(int(a) + int(b))
        elif op == "-":
            print(int(a) - int(b))
        elif op == "*":
            print(int(a) * int(b))
        elif op == "/":
            Print (int (a) // int (b))
        else:
            print("error") 

Fixed submission:
while True:
    a, op, b = input().split()
    if op == '?':
        break
    if op == '/':
        op = '//'
    print(eval(a + op + b))

Buggy python submission (verdict: Runtime Error):
while True:
    a, op, b = raw_input().split()
    if op == "?":
        break
    else:
        if op == '+':
            print int(a) + int(b)
        elif op == '-':
            print int(a) - int(b)
        elif op == '*':
            print int(a) * int(b)
        elif op == '/':
            print int(a) / int(b)
        else:
            print "error"

Fixed submission:
while True:
    a, op, b = input().split()
    if op == '?':
        break
    if op == '/':
        op = '//'
    print(eval(a + op + b))