Cognizant Interview Question

Puzzle Python logic Self intro Flexibility Any questions