Buggy python submission (verdict: Runtime Error):
for i in range(10000):
    line = input()
    if line == "0":
        break
    else:
        print('Case %d: %s', % (i, line) )


Fixed submission:
#
# 3b
#

def main():
    i = 1
    while True:
        x = int(input())
        if x == 0:
            break
        print(f"Case {i}: {x}")
        i += 1


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
for i in range(10000):
    line = input()
    if line == "0":
        break
    else:
        print('Case %d: %s', % (i, line))


Fixed submission:
#
# 3b
#

def main():
    i = 1
    while True:
        x = int(input())
        if x == 0:
            break
        print(f"Case {i}: {x}")
        i += 1


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
for i in range(10000):
    line = input()
    if line == "0":
        break
    else:
        print('Case %d: %s', %(i, line))


Fixed submission:
#
# 3b
#

def main():
    i = 1
    while True:
        x = int(input())
        if x == 0:
            break
        print(f"Case {i}: {x}")
        i += 1


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
for i in range(1,10001):
    line = input()
    if line == "0":
        break
    else:
        print('Case %d: %s', %(i, line))


Fixed submission:
#
# 3b
#

def main():
    i = 1
    while True:
        x = int(input())
        if x == 0:
            break
        print(f"Case {i}: {x}")
        i += 1


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
for i in range(1,10001):
    line = input()
    if line == "0":
        break
    else:
        print('Case %d: %s', %(i, line))


Fixed submission:
#
# 3b
#

def main():
    i = 1
    while True:
        x = int(input())
        if x == 0:
            break
        print(f"Case {i}: {x}")
        i += 1


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
for i in range(1,10001):
    line = input()
    if line == 0:
        break
    else:
        print('Case %d: %s', %(i, line))


Fixed submission:
#
# 3b
#

def main():
    i = 1
    while True:
        x = int(input())
        if x == 0:
            break
        print(f"Case {i}: {x}")
        i += 1


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
for i in range(1,10001):
    line = input()
    if line == "0":
        break
    else:
        print('Case %s: %s', %(i, line))


Fixed submission:
#
# 3b
#

def main():
    i = 1
    while True:
        x = int(input())
        if x == 0:
            break
        print(f"Case {i}: {x}")
        i += 1


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
for i in range(1,10001):
    line = input()
    if line == "0":
        break
    else:
        print('Case %i: %s', %(i, line))


Fixed submission:
#
# 3b
#

def main():
    i = 1
    while True:
        x = int(input())
        if x == 0:
            break
        print(f"Case {i}: {x}")
        i += 1


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
for i in range(1,10000):
    x = int(input())
    if x == 0:
        break:
    else:
        print('Case %i: %i' % (i, x))


Fixed submission:
#
# 3b
#

def main():
    i = 1
    while True:
        x = int(input())
        if x == 0:
            break
        print(f"Case {i}: {x}")
        i += 1


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
for i in range(1,10000):
    x = int(input())
    if x == 0:
        break:
    else:
        print("Case %d: %d" % (i, x))


Fixed submission:
#
# 3b
#

def main():
    i = 1
    while True:
        x = int(input())
        if x == 0:
            break
        print(f"Case {i}: {x}")
        i += 1


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):

#for i in range(1,10000):
i = 1

while True:
    x = int(input())
    if x == 0:
        break:
    else:
        print("Case %d: %d" % (i, x))
        i++


Fixed submission:
#
# 3b
#

def main():
    i = 1
    while True:
        x = int(input())
        if x == 0:
            break
        print(f"Case {i}: {x}")
        i += 1


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
#for i in range(1,10000):
i = 1

while True:
    x = int(input())
    if x == 0:
        break:
    else:
        print("Case %d: %d" % (i, x))
        i++


Fixed submission:
#
# 3b
#

def main():
    i = 1
    while True:
        x = int(input())
        if x == 0:
            break
        print(f"Case {i}: {x}")
        i += 1


if __name__ == '__main__':
    main()