The document contains Python code examples for various programming exercises including:
1) Adding two numbers
2) Solving a quadratic equation
3) Swapping two variables
4) Checking if a number is positive, negative, or zero
5) Finding the largest of three numbers
6) Checking if a number is prime
7) Calculating the factorial of a number
8) Generating the Fibonacci sequence
9) Checking if a number is an Armstrong number
10) Calculating the sum of natural numbers