반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- google apps script
- PostgreSQL
- PANDAS
- SQL
- Tkinter
- dataframe
- c#
- string
- matplotlib
- PySpark
- Kotlin
- numpy
- django
- Java
- gas
- Mac
- Excel
- list
- Python
- Github
- hive
- array
- 파이썬
- Google Spreadsheet
- Redshift
- Apache
- Google Excel
- math
- GIT
Archives
- Today
- Total
목록isupper (1)
달나라 노트
Python Basic : islower(), isupper() (string에 포함된 알파벳의 대소문자 여부 체크하기)
islower() method는 string에 적용할 수 있으며, 문자열에 포함된 모든 알파벳이 모두 소문자일 경우 True를 return합니다. 문자열에 포함된 알파벳 중 하나라도 대문자일 경우 False를 return합니다. isupper() method는 string에 적용할 수 있으며, 문자열에 포함된 모든 알파벳이 모두 대문자일 경우 True를 return합니다. 문자열에 포함된 알파벳 중 하나라도 소문자일 경우 False를 return합니다. Syntax string.islower() string.isupper() 사용법은 간단합니다. 두 method 모두 그냥 string에 적용하면 됩니다. str_test = 'abcde' print(str_test.islower()) -- Result T..
Python/Python Basic
2022. 10. 24. 00:23