Buggy python submission (verdict: Runtime Error):
import string as st
from msvcrt import getch
string=[]
while True:
    s = input()
    if s == '':
        break
    string.append(s)
for i in range(len(st.ascii_lowercase)):
    print("{} : {}".format(st.ascii_lowercase[i],string.count(st.ascii_lowercase[i])))


Fixed submission:
import string as st
string=[]
try:
    while True:
        s = input()#入力
        string =list(string)#list変換
        if not s :#空入力のときループぬける
            break
        string.extend(s)#list追加
        string=map(str,string)
        string="".join(string).lower()#str型変換と小文字
except EOFError:
    for i in range(len(st.ascii_lowercase)):
        print("{} : {}".format(st.ascii_lowercase[i],string.count(st.ascii_lowercase[i])))

Buggy python submission (verdict: Runtime Error):
import string as st
string=[]
while True:
    s = input()
    if s == '':
        break
    string.append(s)
    string=','.join(string)
    string = string.lower()
for i in range(len(st.ascii_lowercase)):
    print("{} : {}".format(st.ascii_lowercase[i],string.count(st.ascii_lowercase[i])))


Fixed submission:
import string as st
string=[]
try:
    while True:
        s = input()#入力
        string =list(string)#list変換
        if not s :#空入力のときループぬける
            break
        string.extend(s)#list追加
        string=map(str,string)
        string="".join(string).lower()#str型変換と小文字
except EOFError:
    for i in range(len(st.ascii_lowercase)):
        print("{} : {}".format(st.ascii_lowercase[i],string.count(st.ascii_lowercase[i])))

Buggy python submission (verdict: Runtime Error):
import string as st
string=[]
while True:
    s = input()
    string =list(string)
    if s == '':
        break
    string.append(s)
    string=','.join(string)
    string = string.lower()
for i in range(len(st.ascii_lowercase)):
    print("{} : {}".format(st.ascii_lowercase[i],string.count(st.ascii_lowercase[i])))


Fixed submission:
import string as st
string=[]
try:
    while True:
        s = input()#入力
        string =list(string)#list変換
        if not s :#空入力のときループぬける
            break
        string.extend(s)#list追加
        string=map(str,string)
        string="".join(string).lower()#str型変換と小文字
except EOFError:
    for i in range(len(st.ascii_lowercase)):
        print("{} : {}".format(st.ascii_lowercase[i],string.count(st.ascii_lowercase[i])))

Buggy python submission (verdict: Runtime Error):
import string as st
string=[]
low_s=[]
while True:
    s = input()#入力
    print("s =",s)
    string =list(string)#list変換
    if s == '':#空入力のときループぬける
        break
    string.extend(s)#list追加
    #print(string)
    string=map(str,string)
    string="".join(string)
    print(string)
    #print(type(string))
    low_s= string.lower()
    print(low_s)
for i in range(len(st.ascii_lowercase)):
    print("{} : {}".format(st.ascii_lowercase[i],low_s.count(st.ascii_lowercase[i])))


Fixed submission:
import string as st
string=[]
try:
    while True:
        s = input()#入力
        string =list(string)#list変換
        if not s :#空入力のときループぬける
            break
        string.extend(s)#list追加
        string=map(str,string)
        string="".join(string).lower()#str型変換と小文字
except EOFError:
    for i in range(len(st.ascii_lowercase)):
        print("{} : {}".format(st.ascii_lowercase[i],string.count(st.ascii_lowercase[i])))

Buggy python submission (verdict: Runtime Error):
import string as st
string=[]
low_s=[]
while True:
    s = input()#入力
    string =list(string)#list変換
    if not s :#空入力のときループぬける
        break
    string.extend(s)#list追加
    string=map(str,string)
    string="".join(string)
    low_s= string.lower()
    print(low_s)
for i in range(len(st.ascii_lowercase)):
    print("{} : {}".format(st.ascii_lowercase[i],low_s.count(st.ascii_lowercase[i])))


Fixed submission:
import string as st
string=[]
try:
    while True:
        s = input()#入力
        string =list(string)#list変換
        if not s :#空入力のときループぬける
            break
        string.extend(s)#list追加
        string=map(str,string)
        string="".join(string).lower()#str型変換と小文字
except EOFError:
    for i in range(len(st.ascii_lowercase)):
        print("{} : {}".format(st.ascii_lowercase[i],string.count(st.ascii_lowercase[i])))