Buggy python submission (verdict: Runtime Error):
if __name__ == '__main__':




&#160; &#160; while True:








&#160; &#160; &#160; &#160; n = int(raw_input())
&#160; &#160; &#160; &#160; if n == 0:
&#160; &#160; &#160; &#160; &#160; &#160; break




&#160; &#160; &#160; &#160; data = [0 for a in range(10)]
&#160; &#160; # &#160; &#160;print data




&#160; &#160; &#160; &#160; for m in range(n):
&#160; &#160; &#160; &#160; &#160; &#160; inp = int(raw_input())




&#160; &#160; &#160; &#160; &#160; &#160; data[inp-1] += 1
&#160; &#160; # &#160; &#160; &#160; &#160;print data




&#160; &#160; &#160; &#160; for m in range(10):




&#160; &#160; &#160; &#160; &#160; &#160; if data[m] == 0:
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; print '-'




&#160; &#160; &#160; &#160; &#160; &#160; else:
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; for c in range(data[m]):
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; print '*',




&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; print

Fixed submission:
#!/usr/bin/env python3

d_init = [0] * 10
while True:
    data = d_init[:]
    n = int(input())
    if n == 0:
        break

    for _ in range(n):
        in_data = int(input())
        data[in_data] += 1

    for d in data:
        if d == 0:
            print("-")
        else:
            print("*" * d)

Buggy python submission (verdict: Runtime Error):
n = int(input())                                                                                                                                                                                         
data = [0] * n                                                                                                                                                                                           
                                                                                                                                                                                                             
for a in range(n):                                                                                                                                                                                       
　t = int(input())                                                                                                                                                                                     
  data[t] += 1                                                                                                                                                                                         
                                                                                                                                                                                                             for a in range(n):                                                                                                                                                                                       
　if data[a] == 0:                                                                                                                                                                                     
  　print('-')                                                                                                                                                                                          　else:                                                                                                                                                                                                
　　for t in range(data[a]):                                                                                                                                                                         
　　　print('*', end='')                                                                                                                                                                           
　　print()                     

Fixed submission:
#!/usr/bin/env python3

d_init = [0] * 10
while True:
    data = d_init[:]
    n = int(input())
    if n == 0:
        break

    for _ in range(n):
        in_data = int(input())
        data[in_data] += 1

    for d in data:
        if d == 0:
            print("-")
        else:
            print("*" * d)

Buggy python submission (verdict: Runtime Error):
n = int(raw_input())                                                                                                                                                                                         
data = [0] * n                                                                                                                                                                                           
                                                                                                                                                                                                             
for a in range(n):                                                                                                                                                                                       
　t = int(raw_input())                                                                                                                                                                                     
  data[t] += 1                                                                                                                                                                                         
                                                                                                                                                                                                             for a in range(n):                                                                                                                                                                                       
　if data[a] == 0:                                                                                                                                                                                     
  　print '-'                                                                                                                                                                                           　else:                                                                                                                                                                                                
　　for t in range(data[a]):                                                                                                                                                                         
　　　print '*',                                                                                                                                                                           
　　print                    

Fixed submission:
#!/usr/bin/env python3

d_init = [0] * 10
while True:
    data = d_init[:]
    n = int(input())
    if n == 0:
        break

    for _ in range(n):
        in_data = int(input())
        data[in_data] += 1

    for d in data:
        if d == 0:
            print("-")
        else:
            print("*" * d)