Created
January 21, 2021 18:01
-
-
Save mvallebr/47c719c9f533d7ecd7bbbf73f0787188 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def delete_nth(order,max_e): | |
| result = [] | |
| for index in range(len(order)): | |
| if result.count(order[index]) < max_e: | |
| result.append(order[index]) | |
| return result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment