반응형
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
- gas
- Github
- Redshift
- 파이썬
- string
- hive
- list
- Excel
- Google Spreadsheet
- Tkinter
- Java
- matplotlib
- google apps script
- PostgreSQL
- GIT
- Kotlin
- Google Excel
- django
- math
- PANDAS
- numpy
- SQL
- Apache
- dataframe
- Mac
- array
- Python
- c#
- PySpark
Archives
- Today
- Total
목록소문자 (1)
달나라 노트
Python Basic : lower, upper (소문자로 변경하기, 대문자로 변경하기)
print('AbCdEfG'.lower()) print('AbCdEfG'.upper()) -- Result abcdefg ABCDEFG lower method는 텍스트에 적용하여 모든 알파벳을 소문자로 변경시킵니다. upper method는 텍스트에 적용하여 모든 알파벳을 대문자로 변경시킵니다. print('Ab1C2d3EfG'.lower()) print('Ab4Cd5Ef6G'.upper()) -- Result ab1c2d3efg AB4CD5EF6G 중간에 숫자가 있어도 숫자는 무시하고 알파벳만 대문자 또는 소문자로 바꿔줍니다.
Python/Python Basic
2021. 3. 27. 01:34