Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an easter egg #12

Open
maduranma opened this issue Oct 19, 2022 · 1 comment
Open

Add an easter egg #12

maduranma opened this issue Oct 19, 2022 · 1 comment

Comments

@maduranma
Copy link

maduranma commented Oct 19, 2022

A big piece of software of this kind must have at least one easter egg.

What about this at the beggining of the code?

import sys
if len(sys.argv) == 2 and sys.argv[1] == 'HelloWorld':
    print('You found an egg, I hope it\'s an easter one')
@PoolloverNathan
Copy link

PoolloverNathan commented Oct 25, 2022

Good idea in my opinion. Taking into account past days:

  • the 1 and 2 should be replaced with len(...) (day 2)
  • both strings should need to be encoded in another binvals array (day 6)
  • ...which needs to be be encoded in another binvals array (day 9)
  • the print() statement should be replaced with the C one (day 4)

I'll make a branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants