strip method in python | String methods in python |Python Tutorials 2023 #stringmethods #stripmethod

preview_player
Показать описание
strip method in python

In Python, the strip() method is used to remove leading and trailing
whitespace (spaces, tabs, or newline characters) from a string.

The basic syntax of the strip() method is as follows:

characters (optional): If provided, it specifies a set of
characters to be removed from the beginning and end of the string.
If not specified, the method will remove whitespace by default.

Please watch Video...!!!
Рекомендации по теме
welcome to shbcf.ru