All pastes #388263 Raw Edit

Someone

public python v1 · immutable
·published 2007-03-09 23:06 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