# Python Basic Concepts

# Print

#

# Variable

#

#

Example 1

#

# Input

#

# Numbers

#

# Math Operators

#

#

Example 2

#

# Error

#

#

Example 3

#

1 + 2 + 3 + 4 + .... + 998 + 999 + 1000 = ?

#

2 + 4 + 6 + 8 + .... + 884 + 886 + 888 = ?

#

20! = 1 x 2 x 3 x .... x 18 x 19 x 20 = ?

# Programming Challenge 1 - A Pizza Calculator

#

A Pizza Calculator

  1. Ask the person how many pizzas they want.
  2. Ask for the menu cost of each pizza.
  3. Calculate the total cost of the pizzas as our subtotal.
  4. Calculate the sales tax owed, at 12 percent of the subtotal. (BC)
  5. Add the sales tax to the subtotal for the final total.
  6. Show the user the total amount due, including tax.

#

#

Solution:

# String

# Loop

# If Statement

# Random Module

# Programming Challenge 2 - Caesar Cipher

# Coding Exercises