032
·
Python/파이썬 300제
# 032 count 메서드 # 다음 문자열에서 'python' 문자열의 빈도수를 출력하라. introduce = "python is widely used high-level language. python was conceived in the late 1980s" # count 메서드를 사용한다. print(introduce.count("python"))