Python Strings: learn about Strings in Python, String Slicing in Python, String Methods Python and String Formatting in Python Kindle Edition
by Vivek Kumar(Author)
ASIN: B0B4SVQB4K
Publication date: June 21, 2022
Language 语言: English
File size: 936 KB
Print Length 页数: 70 pages
Book Description
Python Strings:
Learn about Strings in Python, String Slicing in Python, String Methods Python and String Formatting in Python
Chapter: 1 Strings in Python
Overview
A string is just a sequence of characters. It is among the most popular data types in Python. It can be created simply by enclosing characters in quotes. Python provides a rich set of operators, functions, and methods for working with strings which helps to access and extract portions of strings ans also manipulate and modify string data.
Chapter: 2 String Slicing in Python
Overview
Python has introduced multiple string operation methods that allow fetching a string substring. One of these operations is called Slice. This operator is so versatile and syntactically elegant that with the help of just a few parameters, one can fetch numerous substring combinations out of a string. String slicing in python programming is all about fetching a substring from a given string by slicing it from a ‘start’ index until a ‘stop’ index.
Chapter: 3 String Methods Python
Chapter: 4 String Formatting in Python