I am looking for a more pythonic way to work with my decoded variable. I keep finding myself assigning empty strings or None or 0 to use as a placeholder and I think it looks ugly. Second question in snippet. Code snippet for refernce: def testCaesar(ciphertext): for testkey in range(0,25): decoded = '' # <--- uglyness for c in ciphertext.upper(): …