2 ms·
This is silly. One of my personal stupid mistakes in Python is forgetting to delete a trailing comma. The resulting code is still valid, because a trailing co
by alexeiz 7y ago
This is silly. One of my personal stupid mistakes in Python is forgetting to delete a trailing comma. The resulting code is still valid, because a trailing comma produces a tuple.
a = b,
- dagw 7y agoOr accidentally forgetting a comma like in a = ["long", "list" "of", "strings] which become a = ["long", "listof", "strings"] due to automatic string concatenation