Great opportunity to apply list comprehension (suggestion) #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In MinimumSkew.py
Conditions met to use list comprehensions:
With this in mind we can change the following code:
for this:
The "formula" used has the following basic structure:
which is equivalent to:
That is elegant, thanks!