← Back to List
2386번: 도비의 영어 공부 ↗
Solutions
Python 3
117 B | 117 chars
while True: a=input() if a=='#': break a=a.lower() s=a[2:] a=a[0] print(a,s.count(a))