Python

38
1228 reads

February 28, 2013

Random Access


Demonstrates string indexing.

25
1377 reads

February 28, 2013

No Vowels


Demonstrates creating new strings with a for loop.

37
1434 reads

February 28, 2013

Loopy Strings


Demonstrates the for loop with a string.

22
1267 reads

February 28, 2013

Hero's Inventory 2


Demonstrates tuples

21
1376 reads

February 28, 2013

Hero's Inventory


Demonstrates tuple creation.

36
1575 reads

February 28, 2013

Counter


Demonstrates the range() function.

22
1550 reads

February 28, 2013

Write It


The following example demonstrates writing to a text file .

37
1388 reads

February 28, 2013

Pickle It


The following example demonstrates pickling and shelving data.

29
1501 reads

February 28, 2013

Handle It


The following example demonstrates handling exceptions .

322
3738 reads

February 28, 2013

Tic-Tac-Toe


Are you ready to play the game of tic-tac-toe against a computer ?
Go on......good luck .