Skip to content

Instantly share code, notes, and snippets.

@dilanshah
Created February 25, 2018 06:22
Show Gist options
  • Save dilanshah/ca5f664a5cc8a0bf53f1c175a0791ca0 to your computer and use it in GitHub Desktop.
Save dilanshah/ca5f664a5cc8a0bf53f1c175a0791ca0 to your computer and use it in GitHub Desktop.
HackerEarth brain teaser
'''
Jadoo hates numbers, but he requires to print a special
number "420" to recharge the equation of life. He asks
your help to print the number but Since he hates numbers,
he asks you to write the program such that there would not
be any number in the code.
'''
# Write your code here
print(sum(ord(c) for c in 'Jado&'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment