You need to understand Python well before you can write idiomatic, or *pythonic* code in it.
ReadPython, in general, is a pass-by-reference language. What does that really mean and what do you need to look out for?
ReadIn this article we learn about the deconstruction operators (`*` and `**`) in Python and how to use them with functions, list, and dictionaries.
Read