In this post I am going to introduce you to what began as a kind of joke by long time Pythoneer Tim Peters but later sustained through more than 20 years to become a outline of the philosophy of the Python programming language. Developers at the Python Software Foundation as well as programmers using Python have found guidance in the Zen of Python.
You can find the Zen of Python in a module called 'this' in your very own Python installation.
As you can see, the Zen of Python is written in a rather poetic and humorous way. Looks like Python programmers do have a lot of sense of humor. For one more Python joke type in:
in your command prompt.
Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts
Wednesday, November 10, 2010
Saturday, November 6, 2010
Developing programming skills with Project Euler
Would you like to take your programming and problem-solving skills to the next level? These days I've been spending some time daily at a website called Project Euler. Project Euler is a series of programming challenges containing at present more than 300 problems(and it is growing!!).
From what I've experienced up till now, most of the problems at Project Euler require both mathematics and programming. Many problems require learning about various mathematical and programming concepts and thus, is very suitable for getting introduced to new and useful topics. Also, as "problems range in difficulty and for many the experience is inductive chain learning" so you will be able to learn new things from solving a simple problem and then move on to relatively more difficult problems.
As, most of the problems are numeric in nature, using Python is quite an advantage. Once you understand what the question is asking, you may find the answer right away by using a naive brute-force, however, most of the times this approach won't be efficient enough and you'll be out again searching for improving your program. And, that is what makes it a wholesome educational experience. This can become frustrating at times, but don't just give up; most of the times the solution is just right under your nose waiting to be found out.
Check out Project Euler here- http://projecteuler.net/
From what I've experienced up till now, most of the problems at Project Euler require both mathematics and programming. Many problems require learning about various mathematical and programming concepts and thus, is very suitable for getting introduced to new and useful topics. Also, as "problems range in difficulty and for many the experience is inductive chain learning" so you will be able to learn new things from solving a simple problem and then move on to relatively more difficult problems.
As, most of the problems are numeric in nature, using Python is quite an advantage. Once you understand what the question is asking, you may find the answer right away by using a naive brute-force, however, most of the times this approach won't be efficient enough and you'll be out again searching for improving your program. And, that is what makes it a wholesome educational experience. This can become frustrating at times, but don't just give up; most of the times the solution is just right under your nose waiting to be found out.
Check out Project Euler here- http://projecteuler.net/
Labels:
programming,
Project Euler
Subscribe to:
Posts (Atom)