TensorIoT interview question

Basic Python and OOPs concepts.