((10*5)+5 - missing brackets
{a+[c+(10*d)]} - ok
{x+[y+(z+d])} - missing brackets
5
((10*5)+5
False
{a+[c+(10*d)]}
True
{x+[y+(z+d])}
False
{{[[(())]]}}
True

Checking how many queries reduce using these methods with an example

Photo by Etienne Boulanger on Unsplash

Understanding lambda, map, filter, reduce with examples.

lambda

Basic syntax

lambda arguments : expression

Example

add = lambda x, y: x + y
print(add(2, 3))

Writing a singleton decorator to use with any class

Photo by Patrick Schneider on Unsplash

Understanding Django life cycle.

Request-Response life cycle in Django

Goutom Roy

Engineer, son, brother, husband, friend, archaeology enthusiast, and history maniac.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store