J.P. Morgan Interview Question

what is Python inheritance and its advantange