Home » Python Programming » Week 4 – Python Programming – Slicing and Dicing Strings

Week 4 – Python Programming – Slicing and Dicing Strings

 

Notes:

len provides the length of the container (how many characters in the string value).

  • The first value is zero when counting in Python.

To find the single character value use the bracket and numeric position.

  • To find m in “Amy’, use [1]

 

 


Leave a comment

Your email address will not be published. Required fields are marked *