It works now.

I tried the code on one of the computers in university and it worked.

I wonder why it does not work on my computer?