Here's a new edition, better formatting, typo fixed:
I've got a gig coming up, so thought I'd do some notes here. It's a Python
class, and I'll be using math topics to motivate problem solving. For
example, there's no factorial built-in = an opportunity to program:
The course starts out with data structures, a foundation on which to build.
Data structures are for storing and later accessing information. In Python,
this might involve pickling, i.e. serialization of objects. Or we might
write out to text files, use a SQL engine, save to the ZODB, or pipe out
through sockets to some unspecified receiver with a TCP/IP address (an IP
number). We might use Twisted for this latter purpose.
On the math side, the data structure we call a dictionary is a collection
type known as a mapping, in that it associates or pairs keys with values. We
may pick our keys and values from the same domain and codomain, in which
case we have a mapping of maybe integers into integers, or floats into
floats, or characters into characters.
This last mapping (characters into characters) is a jumping off point to
simple encryption by means of letter substitution (we treat the space as
just one more letter):
Where we're going with this is towards the relations and functions concepts.
Relations pair members in two sets, perhaps the same key (domain element)
with two or more different values (range element), while functions guarantee
a unique and determined value for a given key.
OK for Relation, but not Function:
R(r) --> b
R(r) --> c
OK for Function, and for Relation:
f(r) --> b
f(s) --> b
In addition to defining functions by roster (explicit pairing), we'll be
defining functions according to rules, which is where we transition from
exploring data structures to writing short top-level functions. Or
functions will often be about sequences, e.g. figurate and polyhedral,
Fibonacci, maybe chaotic.
===== ADDENDUM: Note to the Teacher ====== 
The Python community is in a sense an ethnicity, in that there's a lot of
shared jargon and concepts. This is true in mathematics as well
(sub-ethnicities within ethnicities, e.g. topologists). Per an earlier
thread here at the Math Forum: all math is ethnomath.
This math/CS hybrid involves mixing heroes from disparate domains. We learn
about Descartes and Fermat, sure, but also about Von Neumann, Dijkstra, Ada
I'm suggesting this as an alternative to precalc/calc, i.e. a discrete math
track in K-12, perhaps leading to a different mix of majors, but still
college prep and still an on ramp into engineering and the sciences for the
most part, although these skills also transfer to art/design majors in other
departments as well.