3 Introduction to Strings and Working with Text

In Chapter 1, you created a ‘Hello, World!’ string and printed it to the console, but Python can do far more than just print string data. In this chapter, you’ll use operators, functions, and methods to manipulate strings. Strings are fundamental data types common to most programming languages, and you’ll use them in almost all the programs you write. If you need to communicate information to your user, capture input from text fields, retrieve data from the web, or perform just about any task that involves text, you’ll be using strings.

In this chapter, you’ll also learn how to use Processing’s ...

Get Learn Python Visually now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.