Buggy python submission (verdict: Runtime Error):
while 1:
    try:
        ipt = raw_input().split()
    except EOFError:
        break;
    s = []
    for i in range(len(ipt)):
        if ipt[i].isdigit():
            s.append(float(ipt[i]))
        else:
            b = s.pop(); a = s.pop();
            if ipt[i]=='+':
                s.append(a+b)
            elif ipt[i]=='-':
                s.append(a-b)
            elif ipt[i]=='*':
                s.append(a*b)
            else:
                s.append(a/b)
    print "%.6f"%s[0]

Fixed submission:
import sys
for s in sys.stdin.readlines():
    st = []
    for c in s.strip().split():
        if c=='+':
            st.append(st.pop()+st.pop())
        elif c=='-':
            st.append(-st.pop()+st.pop())
        elif c=='*':
            st.append(st.pop()*st.pop())
        elif c=='/':
            st.append(1/st.pop()*st.pop())
        else:
            st.append(float(c))
    print st.pop()

Buggy python submission (verdict: Runtime Error):
while 1:
    try:
        ript = raw_input()
    except EOFError:
        break;
    ipt = ript.split()
    s = []
    for i in range(len(ipt)):
        if ipt[i].isdigit():
            s.append(float(ipt[i]))
        else:
            b = s.pop(); a = s.pop();
            if ipt[i]=='+':
                s.append(a+b)
            elif ipt[i]=='-':
                s.append(a-b)
            elif ipt[i]=='*':
                s.append(a*b)
            else:
                s.append(a/b)
    print "%.6f"%s[0]

Fixed submission:
import sys
for s in sys.stdin.readlines():
    st = []
    for c in s.strip().split():
        if c=='+':
            st.append(st.pop()+st.pop())
        elif c=='-':
            st.append(-st.pop()+st.pop())
        elif c=='*':
            st.append(st.pop()*st.pop())
        elif c=='/':
            st.append(1/st.pop()*st.pop())
        else:
            st.append(float(c))
    print st.pop()

Buggy python submission (verdict: Runtime Error):
while 1:
    try:
        ipt = raw_input().split() 
        s = []
        for i in range(len(ipt)):
            if ipt[i].isdigit():
                s.append(float(ipt[i]))
            else:
                b = s.pop(); a = s.pop();
                if ipt[i]=='+':
                    s.append(a+b)
                elif ipt[i]=='-':
                    s.append(a-b)
                elif ipt[i]=='*':
                    s.append(a*b)
                else:
                    s.append(a/b)
        print "%.6f"%s[0]
    except EOFError:
        break;

Fixed submission:
import sys
for s in sys.stdin.readlines():
    st = []
    for c in s.strip().split():
        if c=='+':
            st.append(st.pop()+st.pop())
        elif c=='-':
            st.append(-st.pop()+st.pop())
        elif c=='*':
            st.append(st.pop()*st.pop())
        elif c=='/':
            st.append(1/st.pop()*st.pop())
        else:
            st.append(float(c))
    print st.pop()

Buggy python submission (verdict: Runtime Error):
while 1:
    try:
        ipt = raw_input().split() 
        s = []
        for i in range(len(ipt)):
            if ipt[i].isdigit():
                s.append(float(ipt[i]))
            else:
                b = s.pop(); a = s.pop();
                if ipt[i]=='+':
                    s.append(a+b)
                elif ipt[i]=='-':
                    s.append(a-b)
                elif ipt[i]=='*':
                    s.append(a*b)
                else:
                    s.append(a/b)
        if len(s)==1: print "%.6f"%s[0]
    except EOFError:
        break;

Fixed submission:
import sys
for s in sys.stdin.readlines():
    st = []
    for c in s.strip().split():
        if c=='+':
            st.append(st.pop()+st.pop())
        elif c=='-':
            st.append(-st.pop()+st.pop())
        elif c=='*':
            st.append(st.pop()*st.pop())
        elif c=='/':
            st.append(1/st.pop()*st.pop())
        else:
            st.append(float(c))
    print st.pop()

Buggy python submission (verdict: Runtime Error):
import sys
for s in sys.stdin.readlines():
    st = []
    for c in s.split():
        if c.isdigit():
            st.append(float(c))
        else:
            b = st.pop(); a = st.pop();
            if c=='+':
                st.append(a+b)
            elif c=='-':
                st.append(a-b)
            elif c=='*':
                st.append(a*b)
            else:
                st.append(a/b)
    print st.pop()

Fixed submission:
import sys
for s in sys.stdin.readlines():
    st = []
    for c in s.strip().split():
        if c=='+':
            st.append(st.pop()+st.pop())
        elif c=='-':
            st.append(-st.pop()+st.pop())
        elif c=='*':
            st.append(st.pop()*st.pop())
        elif c=='/':
            st.append(1/st.pop()*st.pop())
        else:
            st.append(float(c))
    print st.pop()

Buggy python submission (verdict: Runtime Error):
import sys
for s in sys.stdin.readlines():
    st = []
    for c in s.strip().split():
        if c.isdigit():
            st.append(float(c))
        else:
            b = st.pop(); a = st.pop();
            if c=='+':
                st.append(a+b)
            elif c=='-':
                st.append(a-b)
            elif c=='*':
                st.append(a*b)
            else:
                st.append(a/b)
    print st.pop()

Fixed submission:
import sys
for s in sys.stdin.readlines():
    st = []
    for c in s.strip().split():
        if c=='+':
            st.append(st.pop()+st.pop())
        elif c=='-':
            st.append(-st.pop()+st.pop())
        elif c=='*':
            st.append(st.pop()*st.pop())
        elif c=='/':
            st.append(1/st.pop()*st.pop())
        else:
            st.append(float(c))
    print st.pop()