(Jun-29-2018, 03:24 PM)Brennan Wrote: with
seems unnecessary if my current version works just fine.
How about writing proper Python code?
You could have explained that you wanted to skip element 1
so
for value in separate[2:]:instead of
enumerate
-and you'll eliminate try/except
too.Showing data example is usually a good idea too
Test everything in a Python shell (iPython, Azure Notebook, etc.)
- Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
- Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
- You posted a claim that something you did not test works? Be prepared to eat your hat.