For Loop why does not working correctly

Hello everyone, I encountered a strange error while making an example for a for loop. It works correctly on the video, document and online compiler on the Internet, but on my computer it generates random numbers. What is the reason of this? Thanks.

are you sure you re-run the cell? maybe restart the Julia kernel from jupyter menu and try again

1 Like

Yeah, When restart the kernel, its fixed. Thanks.

I am really curious what happened in that scope :laughing:


Iā€™m not willing to wrap my head around it but it might be SoftGlobalScope.jl thing :smiley: