Simple Encryption. Caesar Cipher.

Caesar Cipher is one of the most basic form of encryption techniques. It substitutes the letter in the original message with a letter a certain number of positions down the alphabet. For example, if the original message is ‘abc’, encrypting it with a key of 4 (the number of positions down the alphabet that is […]

Blackjack Score Calculator.

I was trying out some Python problems on Codewars (www.codewars.com) when I came across this interesting problem titled ‘Blackjack Scorer’ posted by a user called ‘jodymgustafson’. I find this problem interesting because there is a conditional involved when determining the value of an ‘Ace’ card, where it can either take a value of 1 or […]