Persistent Systems Interview Question

Python basics(oops, few basic syntax)