Strings

3. Strings#

In this chapter we will take a deep-dive into the str or string data type. You will learn

  • What is the meaning of some arithmetic operators on strings

  • How to convert strings to numbers and numbers to strings

  • How to use special characters inside strings

  • How to print results to the screen

  • How to get information from the user

  • How to format strings

  • What methods are available to manipulate strings