โ† Infosys questions

Even numbers generator

Filed under Infosys

Write a Python generator function to yield even numbers between 0 and n efficiently, and print them in a comma-separated format.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Infosys questions

Collected from public candidate posts and coding forums. Updated Nov 2026.