Search

Blogs Blogs

Sequence Blogs

Newest Most Active

''' Did you know?   A few hack, cracks and obfuscated examples, which may actually lead to less confusion and a greater knowledge of why things work and how. However, these examples have a purpose, and should not be taken, in any way as correct or just another way to achieve a common goal. They are purposely, in some cases, convoluted.   I. String, things, hacking, and unpacking '''   import string s = ‘The quick brown fox jumps over the lazy dog”   The string above (s) is called a pangram. This means it contains every letter of the alphabet at least once. Let’s  Prove that’s true.   Goal: To extract the alphabet in lexicographical form from the pangram below.   alphabet = string.ascii_lowercase # → ‘abcdefghijklmnopqrstuvwxyz’   #Algorithm 1. We begin by calling method lower() on our string to create all lowercase letters (A small amount of normalization).   s... read more

Sequence Blogs RSS feed