Python programming examples

Practice Python by swapping two numbers and testing whether a number or word is a palindrome. Each lesson includes source code and output.