티스토리 뷰
728x90
s = "Kilometer"
print(s.lower())
string1 = 'Hello'
string2 = 'hello'
if string1.lower() == string2.lower():
print("The strings are the same (case insensitive)")
else:
print("The strings are NOT the same (case insensitive)")
https://stackoverflow.com/questions/6797984/how-do-i-lowercase-a-string-in-python
How do I lowercase a string in Python?
Is there a way to convert a string from uppercase, or even part uppercase to lowercase? For example, "Kilometers" → "kilometers".
stackoverflow.com
https://stackoverflow.com/questions/319426/how-do-i-do-a-case-insensitive-string-comparison
How do I do a case-insensitive string comparison?
How can I do case insensitive string comparison in Python? I would like to encapsulate comparison of a regular strings to a repository string using in a very simple and Pythonic way. I also would ...
stackoverflow.com
728x90
'공부' 카테고리의 다른 글
[Python] ModuleNotFoundError: No module named (0) | 2020.04.12 |
---|---|
[Linux] vi show & hide line number (0) | 2020.04.12 |
[Linux] check disk size (0) | 2020.04.11 |
[Linux] check memory (0) | 2020.04.11 |
[Linux] set default editor (0) | 2020.04.11 |
댓글
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 모델 Y 레퍼럴
- follower
- 책그림
- 테슬라 리퍼럴 코드
- 할인
- 레퍼럴
- 테슬라 크레딧 사용
- 테슬라 레퍼럴 적용 확인
- 인스타그램
- 클루지
- 연애학개론
- Bot
- 테슬라 레퍼럴
- 테슬라 레퍼럴 코드 확인
- Kluge
- 테슬라
- 메디파크 내과 전문의 의학박사 김영수
- 테슬라 추천
- 개리마커스
- 유투브
- 김달
- 테슬라 리퍼럴 코드 혜택
- 테슬라 리퍼럴 코드 생성
- COUNT
- 어떻게 능력을 보여줄 것인가?
- 모델y
- 팔로워 수 세기
- wlw
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함