Monkey Raptor

Saturday, April 18, 2015

Python: Removing Same Elements in a List Without Sorting It

This has the exact same idea with the earlier JavaScript post with almost the same title.
In this, I "translated" the JavaScript language into Python language.
Python

Added shorter version April 22, 2015
Shorter version

#1 Result in Python's command terminal (1st version)
#1 Filtering duplicates in an array with Python

#2 Result in Python's command terminal (shorter version)
#2 Filtering duplicates in an array with Python
This will leave the original array (list) intact, no changes.
Python: Removing Same Elements in a List Without Sorting It
https://monkeyraptor.johanpaul.net/2015/04/python-removing-same-elements-in-array.html

No comments

Post a Comment

Tell me what you think...