TATA ELXSI interview question

Basic electronics and python related questions