English, asked by StrangeStinkle, 4 months ago

6) what is the use of the strip()?

Answers

Answered by ajha22480
6

Explanation:

Python String strip()

The strip() method returns a copy of the string by removing both the leading and the trailing characters (based on the string argument passed). The strip() method removes characters from both left and right based on the argument (a string specifying the set of characters to be removed).

Answered by Gushu16GHUFIA21Ashu
9

Hi dude

here's ur answer....

Python String strip()

The strip() method returns a copy of the string by removing both the leading and the trailing characters (based on the string argument passed). The strip() method removes characters from both left and right based on the argument (a string specifying the set of characters to be removed).

HOPE IT HELPS U ✌️

Similar questions