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
statement
when Red => Result := 1;
when Blue =>Result := 2;
when Black .. Brown => Result := 3;
when Orange | Indigo => Result := 4;
when others => Result := 5;required for unspecified cases.
end case;
This is a bug tracker and not a help forum. Please use the Python
general mailinglist to get help. Your problem can be solved with a
pattern called "dispatcher dict".
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: