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
The reason is DIGIT is treated as a capture pattern, and the variable is thus reassigned in the case clause. DIGIT is assigned to "1" first, and then another variable i was created and the value of DIGIT, which now holds "1", is assigned to it.
PEP 634 does not define regular expression as a valid pattern.
The text was updated successfully, but these errors were encountered:
The reason is DIGIT is treated as a capture pattern, and the variable is thus reassigned in the case clause. DIGIT is assigned to "1" first, and then another variable i was created and the value of DIGIT, which now holds "1", is assigned to it.
PEP 634 does not define regular expression as a valid pattern.
The text was updated successfully, but these errors were encountered: