Author name: Chiliveri Neethika

Python Lambda Functions with Examples

Python Lambda Function python lambda function is similar to def keyword where def keyword is used to define a normal function in python and lambda keyword is used to define an anonymous function in python. Lambda function is used whenever function objects are required. Lambda functions are syntactically restricted to  single expression. It is mainly …

Python Lambda Functions with Examples Read More »

How to connect SQL Database in Python

Connecting MYSQL Database in python: To create the connection between mysql and python we use the connect() method of mysql.connector. To create connection we follow 5 steps in which we pass the database details like hostname ,username and password in the method calland then retruns the connection. The Steps are: STEP-1 :Download and installing the MYSQL …

How to connect SQL Database in Python Read More »

Scroll to Top