I would like to see adding a comprehension-like filtering clause to for-statements:
for n in range(100) if n%2:
print(f'{n} is odd number')
Does anyone know if there is a PEP covering that? replies(5):