Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python set match two list

lang1 = ['Python', 'C++', 'C']
lang2 = ['C++', 'C', 'Python']

set(lang1) == set(lang2) #true
Comment

PREVIOUS NEXT
Code Example
Python :: keras normalize 
Python :: fast output python 
Python :: how to check if character in string python 
Python :: os.startfile() python 
Python :: check runtime python 
Python :: python remove .0 
Python :: how to use drf permission class with class method actions 
Python :: python int to char 
Python :: python log file 
Python :: how to find the cosine in python 
Python :: flask api with parameter 
Python :: exponent in python 
Python :: python beautifulsoup xpath 
Python :: dbutils.widgets.get 
Python :: file open in python 
Python :: django signals 
Python :: BaseSSHTunnelForwarderError: Could not establish session to SSH gateway 
Python :: odoo scaffold command 
Python :: python how to insert values into string 
Python :: Python program to find uncommon words from two Strings 
Python :: xarray get number of lat lon 
Python :: find array length in python 
Python :: python convert list of lists of strings to int 
Python :: best ide for python 
Python :: create array of specific size python 
Python :: pickled list 
Python :: python enumerate 
Python :: word counter python 
Python :: pandas series example 
Python :: how to check if python is installed on mac 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =