All pastes #388265 Raw Edit

Stuff

public python v1 · immutable
·published 2007-03-09 23:07 UTC
rendered paste body
x = 0def inc() :	global x	x += 1	print x	def dec() :	global x	x -= 1	print x	while True :	a = input('1 : inc, 2 : dec ? ')	if a == 1 : inc()	elif a == 2 : dec()	else : break