String Functions in Python | lstrip, rstrip, strip, split() string into words | Class 11/12 CS

Опубликовано: 10 Октябрь 2024
на канале: Aditya Aurange
830
26

In this Python tutorial we will learn about STRING Functions
lstrip() Returns a left trimmed version of the string
rstrip() Returns a right trimmed version of the string
strip() Returns a fully trimmed version of the string
split() Splits the string at the specified separator, & returns a list
splitlines() Splits the string at line breaks and returns a list