startswith() Method – Python String – with Examples

in python •  2 years ago 

If the string begins with the supplied value, the startswith() method returns True; otherwise, it returns False.

startswith() Method – Python String – with Examples - FI.png

https://codeparttime.com/startswith-method-python-string-examples/

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!