Skip to content

Instantly share code, notes, and snippets.

@st98
Last active August 29, 2015 14:01
Show Gist options
  • Save st98/a6fb4f2e09b9220d7f3e to your computer and use it in GitHub Desktop.
Save st98/a6fb4f2e09b9220d7f3e to your computer and use it in GitHub Desktop.
class Barrette(object):
def __truediv__(self, other):
return other
def __lt__(self, other):
print(other)
def __str__(self):
return 'ひだまりスケッチ×365 来週も見てくださいね!'
def main():
X = 来週も見てくださいね = _ = Barrette()
X / _ / X < 来週も見てくださいね
if __name__ == '__main__':
main()
try:
X / _ / X < 来週も見てくださいね
except NameError:
print('ひだまりスケッチ×365 来週も見てくださいね!')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment