:
char = chr(ord(char) + 1)
, , pythonic:
from string import ascii_lowercase
char = ascii_lowercase[ascii_lowercase.index(char) + 1]
, z.
, , , , , , , . , :
char = "a"
while True:
if xxx():
break
if yyy():
continue
value = zzz()
print char, value
char = chr(ord(char) + 1)
:
def find_values():
while True:
if xxx():
break
if yyy():
continue
yield zzz()
for char, value in zip(ascii_lowercase, find_values()):
print char, value