#-*- coding:utf-8 -*- a = "Christine" b = 0 total = 0 while (b != len(a)): if (a[b] == "e"): total = total 1 else: b = b 1 print "J'ai trouvé", total, "fois la lettre e."