Back to photostream

Python strings by Learnbay

Python has a built-in string class called "str" that has a range of useful features (there is an older module named "string" which you should not use). Single or double quotes may be used to enclose string literals, but single quotes are more common. A string literal can span several lines, but each line must end with a backslash to escape the newline. String literals enclosed in triple quotes, such as """ or "', can span multiple lines.

 

Python strings are "immutable," meaning they can't be modified after they've been generated (Java strings are similarly immutable). Python attempts to make its operations function reliably across various forms.

 

To Learn more about python strings,Data Science Courses In Bangalore, Ai courses in Bangalore, Best machine learning course online, Big data analytics training in Bangalore,Data Science Certification, Deep learning courses, Data analytics courses, Artificial intelligence training in Bangalore visit here- bit.ly/DatascienceCourse

 

20 views
0 faves
0 comments
Uploaded on March 22, 2021