Closed cdunn2001 closed 6 years ago
Thank you for taking the time and the detailed (easy to follow) suggestion. I just pushed the changes as per your suggestion.
Fortunately, I'm conditioned (PEP8) to use space after :
, but even still - hopefully this bug will be sorted out in some future version of Nim.
If you find anything else worth changing/improving, let me know.
https://github.com/narimiran/advent_of_nim_2016/blob/b0fd9cde917083756c918b850551ccd7d6ee893c/day01.nim#L6
In your Python code, I see this:
You can do that in Nim too, basically:
The trick is
toTable()
.Note that you need decimal points for floats, and a space after the
:
.