All pastes #927309 Raw Edit

cherryy

public python v1 · immutable
·published 2008-03-04 04:56 UTC
rendered paste body
x = input ("please enter number:  ")please enter number:  3>>> while x !=1:	print "The value of x is: ", x	if x%2 ==1:		x=(3*x)+1		break	else:		x=x%2		print "the results are: ",x