Sign in

Python Land

@pythonland.bsky.social
3.1K followers 1 following 13 posts

Official python.land account

PostsRepliesMedia
Python Land @pythonland.bsky.social · 06/10/2023
Python has some pretty nifty string functions. Here are some examples!
>>> title = "python strings are awesome"

>>> title.capitalize()
'Python strings are awesome'

>>> title.title()
'Python Strings Are Awesome'

>>> title.split()
['python', 'strings', 'are', 'awesome']
1705