0

Strange primitive type behavior in func

Hi, everyone! I have strange behavior of i-variable in function. Its scope limited in cycle "for", and 'i' is primitive type, but Its behavior is change for all funcs for each iterarion of cycle "for". And result is 10 for all functions of list. Why? I tried to find explanation on official documentation on Microsoft, but not finded, nothing https://code.sololearn.com/cKil7ghBuxTA/?ref=app

29th Mar 2019, 1:07 AM
Александр Лебедев
Александр Лебедев - avatar
1 Respuesta
- 1
t高房价并不稳定工作
29th Mar 2019, 5:24 PM
Geric
Geric - avatar