Notice
Recent Posts
Recent Comments
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- PYTHON
- Baekjoon
- AI 경진대회
- leetcode
- 편스토랑
- 맥북
- SW Expert Academy
- 백준
- Real or Not? NLP with Disaster Tweets
- Git
- hackerrank
- ChatGPT
- 코로나19
- 파이썬
- 프로그래머스 파이썬
- ubuntu
- 금융문자분석경진대회
- 자연어처리
- github
- 더현대서울 맛집
- 데이콘
- programmers
- 캐치카페
- Docker
- 편스토랑 우승상품
- 프로그래머스
- gs25
- dacon
- 우분투
- Kaggle
Archives
- Today
- Total
솜씨좋은장씨
[leetCode] 709. To Lower Case (Python) 본문
728x90
반응형

Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase.
Example 1:
Input: "Hello"
Output: "hello"
Example 2:
Input: "here"
Output: "here"
Example 3:
Input: "LOVELY"
Output: "lovely"
Solution
class Solution:
def toLowerCase(self, string: str) -> str:
return string.lower()



SOMJANG/CODINGTEST_PRACTICE
1일 1문제 since 2020.02.07. Contribute to SOMJANG/CODINGTEST_PRACTICE development by creating an account on GitHub.
github.com
'Programming > 코딩 1일 1문제' 카테고리의 다른 글
| [leetCode] 1281. Subtract the Product and Sum of Digits of an Integer (Python) (0) | 2020.08.30 |
|---|---|
| [leetCode] 1556. Thousand Separator (Python) (0) | 2020.08.29 |
| [leetCode] 263. Ugly Number (Python) (1) | 2020.08.14 |
| [leetCode] 665. Non-decreasing Array (Python) (0) | 2020.08.13 |
| [leetCode] 344. Reverse String (Python) (0) | 2020.08.13 |
Comments