What does Strip () do in Python?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
strip()
method to remove the spaces/other character’s at the beginning and at the end of the string.str = "0000000this is string example....wow!!!0000000"; print(str.strip('0'))