Python Joke Bot v1.0 activated.
Here is a joke for you:
Knock Knock.
Who's there?
Apple.
Apple Who?
Apple-y ever after.
Tell another one? [YyNn]: y
Here is a joke for you:
Q: How many elephants will fit into a Mini?
A: Four: Two in the front, two in the back.
Q: How many giraffes will fit into a Mini?
A: None. It's full of elephants.
Tell another one? [YyNn]:
Here is a joke for you:
Knock Knock.
Who's there?
Amos.
Amos Who?
A mosquite bit me.
Knock Knock.
Who's there?
Andy.
Andy Who?
Andy's still biting me!
Here is a joke for you:
Knock Knock.
Who's there?
Amos.
Amos Who?
A mosquite bit me.
Knock Knock.
Who's there?
Andy.
Andy Who?
Andy's still biting me!
Tell another one? [YyNn]:
Here is a joke for you:
Q: What time is it when an elephant sits on your fence?
A: Time to build a new fence.
Tell another one? [YyNn]:
Here is a joke for you:
Knock Knock.
Who's there?
Apple.
Apple Who?
Apple-y ever after.
Tell another one? [YyNn]: n
See you next Funday.

A point about the program: it's obviously quite simple. I was almost not going to post about it because of that, but then realized that this, as well as some other small programs I've written in the past and plan to write in the future, though small now, can still illustrate a few points about programming (at least for beginners, including me, a perpetual beginner :).

And, more importantly, it can be built upon incrementally over time, in multiple versions, to illustrate various other programming language and library features. E.g. I can modify/enhance this program to read the jokes from a flat or structured file (such as JSON or XML), a key-value store like BSD DB (supported by the Python stdlib), SQLite (ditto), etc.