31

Real Python: Strings and Character Data in Python

 4 years ago
source link: https://www.tuicool.com/articles/BJbiuir
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

In this course, you’ll learn about working with strings , which are objects that contain sequences of character data. Processing character data is integral to programming. It is a rare application that doesn’t need to manipulate strings to at least some extent.

Python provides a rich set of operators, functions, and methods for working with strings. When you’re finished this course, you’ll know how to:

  • Use operators with strings
  • Access and extract portions of strings
  • Use built-in Python functions with characters and strings
  • Use methods to manipulate and modify string data

You’ll also be introduced to two other Python objects used to represent raw byte data: the bytes and bytearray types.

Take the Quiz: Test your knowledge with our interactive “Python Strings and Character Data” quiz. Upon completion you will receive a score so you can track your learning progress over time:

Take the Quiz »


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK