Python Short Circuit Evaluation Javascript Interviewbit