If you want to pass values of an iterator to a function, use *iterator. In the code above, I use *iterator to avoid hard coding the parameters of the range() method.
*iterator
range()
Python-Magic: Reliable File Type Detection Beyond Extensions
Hydra: YAML-Based Config Management Made Simple
Loguru: Configure Professional Logging in a Single Line
Your email address will not be published. Required fields are marked *
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
Δ