Where to put answer?
Question related to mission
Non-unique Elements
 
list =[6,5,2,8,6,2] print([x for x in list if list.count(x) > 1])
This would work. Mike
Created at: 2017/05/02 22:31; Updated at: 2017/05/03 01:54
task.non-unique-elements
by:
1
mike.adrion
Rating: -1
Sign up to vote
Share:
Player of the
Month
38
U.V
PyCharm
The Python IDE for Professional Developers.
Enjoy productive Python, web and scientific development with PyCharm. Download it now!