You can write 'for' loop with 'if' statement in single line | in Python

Published --