Machine Learning

How To Use Lambda Function In List Comprehension In Python

How To Use Lambda Function In List Comprehension In Python

Let’s first explore what is lambda function in Python. The lambda function is anonymous. They are small functions without names. In Python normal functions start with the def keyword followed by name. However, the lambda function begins with the lambda keyword followed by the input parameters. Syntax of lambda function: lambda [parameter_list]: expression A parameter

How To Use Lambda Function In List Comprehension In Python Read More »

Python-password-generator

Python random password generator

Password is a secret key which is required for login into the application. It secures your account from unauthorized access. There are many instances where you want a secure password for account creation on application. Why do we need secure passwords? Hackers can hack your account using brute force attack if you keep a less

Python random password generator Read More »