Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python list equality

a = [4,7,3,5,8]
b = [4,7,3,5,8]
c = [1,7,3,5,2]

print(a == b)
print(a == c)

Output:
True
False
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #python #list #equality
ADD COMMENT
Topic
Name
3+3 =