Python Exercise: Program to remove duplicates from a list
Write a Python program to check a list is empty or not.
Sample Solution :
Python Code :
l = [] if not l: print("List is empty")
Console :
Copy and paste the above code and press "Enter key" to execute :
Post your code through Disqus