I am trying to work on some problems and algorithms. I know C++ but a friend told me that it would be better if done with Python.As it would be much faster to develop and less time is spent in programming details which does not actually earn anything solution wise.
EDIT 2: I plan to use python-graph lib from Google-codes, Please provide example codes if you have used it.
EDIT 1: faster  - less time && less work to code the solution
Thank you all for your help !
I also vote for python. When do algorithm, we tend to work on the algorithm itself rather than language, low level details. Basically, we works on abstraction level. And using python, we're less likely to be side-tracked. 
But if you're very familiar and comfortable with C++ and can use it freely to express your idea, just use it.
which is a better language (C++ or Python) for  complex problem solving exercises (ex. Graphs)?