#电池1
if "count" not in sc.sticky.keys():
sc.sticky["count"] = 0
for i in range(10):
sc.sticky["count"] += 1
a = sc.sticky["count"]
print a
if sc.sticky["end"]:
break
#电池2
if x >0:
sc.sticky["end"] = True
print "final x = ",x
del sc.sticky["count"]
else :
sc.sticky["end"] = False