https://programmers.co.kr/learn/courses/30/lessons/12916
def solution(s):
answer = True
p_count=s.count('p')+s.count('P')
y_count=s.count('y')+s.count('Y')
if p_count != y_count:
answer=False
return answer
def solution(s):
answer = True
lower_s=s.lower()
p_count=lower_s.count('p')
y_count=lower_s.count('y')
answer=bool(p_count==y_count)
return answer