- Getting Started with Python
- 2.1 Data Types
Let’s explore assigning strings to variables. You will be able to assign multiline strings and use triple quoting to type multiline comments in Python. Lastly, we’ll discuss indexing and slicing to reference parts of a string given an index value or slice values.