All pastes #468282 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-05-03 00:14 UTC
rendered paste body
#!/usr/bin/env python
#filename: function.py

def say_1():
	print 'you got it right'
	
def say_2():
	print 'no thats wrong'
	
question = 0
n = 0

while n == 0:

	question = raw_input('what is 1 + 1? ')
		
	if question == '2':
		say_1()
		break
			
	else: 
		say_2()