WD interview question

Basic DSA and python related questions