Buggy python submission (verdict: Runtime Error):
from statistics *
while True:
    n = int(input())
    if(n == 0): break
    data = list(map(int,input().split()))
    print(stdev(data))


Fixed submission:
from math import *
while True:
    n = int(input())
    if(n == 0 ): break
    data = list(map(int,input().split()))  
    a = sum(data) / n
    b = 0
    c = 0
    for i in data:
        b += pow(i-a,2)
    c = sqrt(b/n)
    
    print(c)

Buggy python submission (verdict: Runtime Error):
from statistics import *
while True:
    n = int(input())
    if(n == 0): break
    data = list(map(int,input().split()))
    print(stdev(data))


Fixed submission:
from math import *
while True:
    n = int(input())
    if(n == 0 ): break
    data = list(map(int,input().split()))  
    a = sum(data) / n
    b = 0
    c = 0
    for i in data:
        b += pow(i-a,2)
    c = sqrt(b/n)
    
    print(c)

Buggy python submission (verdict: Runtime Error):
from statistics import *
while True:
    n = int(input())
    if(n == 0): break
    elif(n == 1):
        print("%.10f" %0)
    else:
        data = list(map(int,input().split()))
        print(stdev(data))


Fixed submission:
from math import *
while True:
    n = int(input())
    if(n == 0 ): break
    data = list(map(int,input().split()))  
    a = sum(data) / n
    b = 0
    c = 0
    for i in data:
        b += pow(i-a,2)
    c = sqrt(b/n)
    
    print(c)

Buggy python submission (verdict: Runtime Error):
from statistics import *
while True:
    n = int(input())
    if(n == 0): break
    elif(n == 1):
        print("%.10f" %0)
    elif(n > 1):
        data = list(map(int,input().split()))
        print(stdev(data))


Fixed submission:
from math import *
while True:
    n = int(input())
    if(n == 0 ): break
    data = list(map(int,input().split()))  
    a = sum(data) / n
    b = 0
    c = 0
    for i in data:
        b += pow(i-a,2)
    c = sqrt(b/n)
    
    print(c)

Buggy python submission (verdict: Runtime Error):
from statistics import *
while True:
    n = int(input())
    if(n == 0): break
    data = list(map(int,input().split()))    
    elif(n == 1):
        print("%.10f" %0)
    else:
        print(stdev(data))


Fixed submission:
from math import *
while True:
    n = int(input())
    if(n == 0 ): break
    data = list(map(int,input().split()))  
    a = sum(data) / n
    b = 0
    c = 0
    for i in data:
        b += pow(i-a,2)
    c = sqrt(b/n)
    
    print(c)

Buggy python submission (verdict: Runtime Error):
from statistics import *
while True:
    n = int(input())
    data = list(map(int,input().split()))  
    if(n == 0): break
    elif(n == 1):
        print("%.10f" %0)
    else:
        print(stdev(data))


Fixed submission:
from math import *
while True:
    n = int(input())
    if(n == 0 ): break
    data = list(map(int,input().split()))  
    a = sum(data) / n
    b = 0
    c = 0
    for i in data:
        b += pow(i-a,2)
    c = sqrt(b/n)
    
    print(c)

Buggy python submission (verdict: Runtime Error):
from math import *
while True:
    n = int(input())
    data = list(map(int,input().split()))  
    a = sum(data) / n
    for i in data:
        b += pow(i-a,2)
    c = sqrt(b/2)
    
    print(c)


Fixed submission:
from math import *
while True:
    n = int(input())
    if(n == 0 ): break
    data = list(map(int,input().split()))  
    a = sum(data) / n
    b = 0
    c = 0
    for i in data:
        b += pow(i-a,2)
    c = sqrt(b/n)
    
    print(c)

Buggy python submission (verdict: Runtime Error):
from math import *
while True:
    n = int(input())
    data = list(map(int,input().split()))  
    a = sum(data) / n
    b = 0
    c = 0
    for i in data:
        b += pow(i-a,2)
    c = sqrt(b/2)
    
    print(c)


Fixed submission:
from math import *
while True:
    n = int(input())
    if(n == 0 ): break
    data = list(map(int,input().split()))  
    a = sum(data) / n
    b = 0
    c = 0
    for i in data:
        b += pow(i-a,2)
    c = sqrt(b/n)
    
    print(c)