Hello! I'm Tony, and I'm going to be playing with Python.
This blog is intended to document my experiments in dealing with Python and learning its intricacies. I'll be talking about math, programming, and pretty much anything that comes to mind during these posts.
Also, I plan on documenting solutions in Python to the problems in Project Euler without explicitly revelaing them. How? The idea is to encrypt the Python code in a zip file, but using a not commonly known, but easily discoverable password. I expect this to deter anyone looking for a cheap and easy way to get a solution, while those who really have the need for one can do a little searching and potentially open the zip file if they need to, and get exposure to some digits in a different language.
For now, the passwords for each file will be the individual digits of the problem number, padded with zeroes up to three digits, written one after another with no spaces in between. So what's the catch? The names for the digits will be in a different written language for each problem, or set of problems. Since the concept of zero was unknown for many dead languages (and my reference for digits in other languages doesn't include zeros), I'll use the English word for "zero", but just backwards ("orez") anytime a zero shows in a puzzle number.
For example, if I say that the password for the zip file for problem 094 is in Swedish, the password would be "orezniofyra", with nio and fyra being the Swedish names for the digits 4 and 9 respectively.
This first post will contain references to the language used for each problem, so it will be updated frequently.
Let's get to Pythoning!!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment