Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c3161ac

Browse files
Adding a snippet
1 parent 2a4aba0 commit c3161ac

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

‎README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,4 +267,14 @@ This method returns a bool value specifying whether a string is palindromic or n
267267
def isPalindrome(self, s: str) -> bool:
268268
s = [ x.lower() for x in s if x.isalnum() ]
269269
return s == s[::-1]
270-
```
270+
```
271+
### Check Lowercase
272+
This method checks if a string is in lower case or not.
273+
```
274+
def toLowerCase(self, str):
275+
"""
276+
:type str: str
277+
:rtype: str
278+
"""
279+
return str.lower()
280+
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /