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
when iterating using a for block, catching two variables turns it into an enumeration. When iterating over a dictionary, (key, value) pairs are yielded.
for (/* type */ /* id */ in /* list expr */) {
// statements
}
// and also for lists:
for (Int /* id */, /* type */ /* id */ in /* list expr */) {
// statements
}
// and also for dictionaries:
for (/* key type */ /* id */, /* value type */ /* id */ in /* dict */) {
// statements
}
The text was updated successfully, but these errors were encountered:
Proposal:
when iterating using a
for
block, catching two variables turns it into an enumeration. When iterating over a dictionary, (key, value) pairs are yielded.The text was updated successfully, but these errors were encountered: