Creating a list: - Tom Kleen

You can also find the same character by using a negative offset value from the end of the string: String[-i] is the character at position i from the right side of the string. Slicing is a very useful and heavily used function in Python: it allows you to extract specific substrings of … ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download