educative.io

Please follow python naming conventions in the code

I had a bitter experience while giving a coding interview where I haven’t followed python naming conventions. I see that in this section you have used camelCase for variable instantiation which should be lowercase separated by an underscore. Hope you’ll correct it which might be helpful for my fellow coders.

Hi @Varun,

Thanks for the feedback and the suggestion. We will definitely look into this.

–Design Gurus team

Agree. Please do a good revision wrt/ PEP8, ex.
“if key == None” is not a canonical comparison to None.

Thanks @dennis for pointing this out! This should have been “is” or “is not” comparison all the way, we missed a couple of places. It is fixed now.