DXC Technology Interview Question

Python basic questions, and oops principles