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
In a for loop, the second variable (if provided), in this case i, is always int at the beginning of each iteration, so this can probably be hard-coded in.
Technically speaking we can infer the type of n from the range operator as well, but that is not 100% fool-proof.
The text was updated successfully, but these errors were encountered:
In a
for
loop, the second variable (if provided), in this casei
, is alwaysint
at the beginning of each iteration, so this can probably be hard-coded in.Technically speaking we can infer the type of
n
from the range operator as well, but that is not 100% fool-proof.The text was updated successfully, but these errors were encountered: