Python Recitation 10, 4/22/16
Algorithms - Searching and sorting
o Insertion sort after x number of passes?
The first x numbers of list will be sorted
o How many comparisons will it take to sort this list?
o If, elif, else
Introduction to Python for scientists and engineers
CSE 5345/7345 Program 1-Postal bar codes
For faster sorting of letters, the United States Postal Service encourages companies that
send large volumes of mail to use a bar code denoting the ZIP code such as
Friday, January 22, 2016
PROGRAM AS FILES
Files or Interactive?
File: A computer file is a self-contained unit of information on your
computer. Think of it as a chunk of memory.
Plain text file: A computer file