Python

185
3458 reads

February 28, 2013

Receive and Return


The following example demonstrates parameters and return values.

142
1967 reads

February 28, 2013

Instructions for Tic-Tac-Toe


The following example demonstrates programmer-created functions .

139
1565 reads

February 28, 2013

Global Reach


The following example demonstrates global variables.

21
2106 reads

February 28, 2013

Birthday Wishes


The following example demonstrates keyword arguments and default parameter values.

40
2035 reads

February 27, 2013

Three Year-Old Simulator


This example demonstrates the while loop.

38
1519 reads

February 27, 2013

Password


This example demonstrates the if statement.

35
1434 reads

February 27, 2013

Maitre D'


This example demonstrates treating a value as a condition.

31
1368 reads

February 27, 2013

74
1830 reads

February 27, 2013

The Geek Translator


In this example you can search the meaning of few geeky terms like "404" ,"Googling" etc. you can also modify,add and re-define the terms.

31
1380 reads

February 26, 2013

The Hangman Game


The following example is the game of hangman. The computer picks a secret word and the player has to try to guess it, one letter at a time.