Skip to content

Instantly share code, notes, and snippets.

Shun Ni nisxiya

Block or report user

Report or block nisxiya

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nisxiya
nisxiya / RemoveDupliations
Last active Aug 1, 2016
remove all the duplicated items from a list. These items should contain primitive elements (int, str, float, etc) and all other kinds of objects.
View RemoveDupliations
#!/usr/bin/python
#coding=utf-8
class Ice:
def __init__(self, name):
self.prop = 'water'
self.hardness = 9
self.name = name
class RmDup:
You can’t perform that action at this time.