Monday, April 30, 2012

My first Python Program

I had gone through Python in my final year of B.Tech. But then it was mostly theoretical.  I did try to code something but unfortunately most of the efforts have not gone far mostly due to lack of a particular problem to attack.

This time however it went different. First when I joined my new company I got the opportunity to work in Python and second I came across this brilliant book (A Byte of Python).

Here is the result of my first Python program.

Maybe I could have improved the code a lot had I been an evolved Python programmer. But I was pretty happy with the initial result that I got.

 “Guido van Rossum”, you deserve to be called "Benevolent Dictator For Life" (BDFL) for creating this amazing scripting language.