I had problems to write the code in python. I ended up doing it in C .
If you are still stuck with it I can help u with ur query
Hey, I was having problems using the start and end attributes as well. I was wondering how you got it to work. Here is how I tried calling it.
I then received "AttributeError: ‘list’ object has no attribute ‘start’ "