본문 바로가기

카테고리 없음

isupper()/islower()

.isupper()

->주어준 문자열이 대문자인지 확인해 줍니다.

if Capital =>True

else =>False

 

.islower()

->반대! 문자열이 소문자인지 확인해 줍니다.