python联系-while循环
print "type 3 to continue, anything else to quit."someinput=raw_input()
while someinput=="3":
print "thank you for the 3,very kind of you."
print "type 3 to continue,anything else to quit."
someinput = raw_input()
print "that's not 3,so I am quitting now"
页:
[1]