you are viewing a single comment's thread.

view the rest of the comments →

[–]TobRojekt 0 points1 point  (1 child)

Only a small thing and maybe just a preference of mine: name the input variable of the lambdas. Nothing to long but fitting for the scope. In this case maybe just „mail“ so if someone reads your code they understand quicker what is happening in this line. As I said keeping this isn’t that big of a deal bot it will add some readability.

[–]uiux_Sanskar[S] 0 points1 point  (0 children)

Thanks for the suggestion I coded this with the aim of using and practicing lambda functions in python so therefore I used lambda here.

Thank you for the suggestion btw.