This page contains examples that are directly related to the material in the course guide. You might also want to see the links page.
Markup and HTML
Cascading Style Sheets
Design
XML
Programming Introduction
Web Programming
More Programming
- A program with a function defined
- A program that uses local variables
- Using a
for
loop - Using a
while
loop - Guessing game: with a
while
loop - Guessing game: with a
for
loop - Using a list to store some numbers
- Catching an exception
- User input with exceptions
- Making change: a first attempt
- Making change: fixed multiple coins
- Making change: details filled in
- Displaying source: basic CGI skeleton
- Displaying source: using
urllib
- Displaying source: inserting entities
- Displaying source: fixed entity replacement
- Displaying source: polished version with given "problems" fixed
- Checking strings to determine if they are plaindromes