You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Students where translating code from R to Python so they use the BEAUTIFUL R syntax.
I will try to implement this next week and send them the comments
Thanks for the advise 👍
There are a lot of places where you're getting sequential elements from a list. Use unpacking to make this code more readable:
MEN2017/miscellaneous.py
Lines 74 to 75 in 1f77631
At best, this can look like:
If there are more elements in
predictionListStats
, then you have a couple options:Explicit assignment
Unpacking sliced list
Splat Unpacking
The text was updated successfully, but these errors were encountered: