Respuesta :

The strip() method produces a copy of the string with all the leading whitespace characters released but does not remove trailing whitespace characters.

What does Strip () do in Python?

The Strip() process in Python removes or truncates the given characters from the beginning and the end of the actual string. The default behavior of the strip() method is to remove the whitespace from the start and at the end of the string.

How do you find the part of a string in Python?

Python provides various ways and methods to generate a substring, check if a substring is present, to get the index of a substring, and more. start -

  • The starting index of the substring.
  • stop  the final index of a substring. step
  • A number identifying the step of the slicing.

To learn more about Python, refer

https://brainly.com/question/26497128

#SPJ4