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
2 Answers
- 1
té«˜ęˆæä»·å¹¶äøēØ³å®šå·„ä½œ
29th Mar 2019, 5:24 PM
Geric
Geric - avatar