October 2017
Beginner to intermediate
464 pages
12h 35m
English
The previous chapter showed how easy it is to input, build, and pull apart strings in Python. This chapter is about manipulating individual characters.
Normally, you don’t need to do this. The virtue of Python strings is how easy they are to operate on at a high level. But certain applications need to test and evaluate single characters. This chapter applies those techniques in specialized applications.
“Case-free” comparisons
A palindrome tester, with which you can test strings like “Madam, I’m Adam”
Encryption and decryption ...
Read now
Unlock full access