SLK Group Interview Question

Write a code to get the even numbers