Python

python 파이썬 count 사용

9D 2022. 8. 26. 02:11
728x90

 

 

print(a.count(원하는숫자)) 입력시 입력한 숫자 카운트해서 출력

 

터미널에서 확인 1이라는숫자 2번 count

728x90