Monday, 25 May 2020

Deleting the duplicate values from a list and an Array in Python.

While solving business problems, many times we come across a problem wherein we have to remove the duplicate values from the list or an array. The best way to remove the duplicate values from an array or list to convert these to set and then reassign the value of set back to list or array.



Sending email using Python

Python has provided smtplib library in order to send email. import smtplib #domain name for the smtp server and port number conn = smtplib.S...