Skip to content

Instantly share code, notes, and snippets.

@ekohilas
Created Dec 22, 2017
Embed
What would you like to do?
obfuscated code golf
word={0:"zero",1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine"}[int(input()[-1])];print(any(True if ord(i)==101 else False for i in word if i==word[-2]or i in word[-1:]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment