KPIT Technologies interview question

OOPS concept and basic coding question using tuples