Cognizant Interview Question

finding odd number, prime numbers, write any program with a class in python