The tuple used the for-loop was missing commas to separate the items. Without the commas, the tuple is read as a string and the attribute gets checked against characters in the string. With the commas, each attribute is correctly checked against each item within the tuple.
The tuple used the for-loop was missing commas to separate the items. Without the commas, the tuple is read as a string and the
attribute
gets checked against characters in the string. With the commas, each attribute is correctly checked against each item within the tuple.