Remove First And Last Characters Of A String In Python With Modifying Original String

preview_player
Показать описание
How can you remove the first and last characters of a string in Python without modifying the original string?

In this example I extract the opening and closing angle brackets of a string.

Рекомендации по теме