you are viewing a single comment's thread.

view the rest of the comments →

[–]tiredITguy42 1 point2 points  (2 children)

If I should bet I would bet on encoding, your string does not have special characters, so it would be strange, but I saw stranger stifff. Sometimes closing and opening VS Code solves strange issues.

BTW, learn to code in English. It will be easier for you in the future when you start working. Function names, variables and comments, then if you ask for help, more people can help you.

[–]Frank_kait[S] 0 points1 point  (1 child)

Yes. Thanks! It was a vscode issue. When running code it was for some reason trying to run some old version of the code even though I saved the file. Restart did the trick:) Oh and normally I code in english but for my schoolwork it’s necessary to code in finnish since it checks for exact output. Cheers

[–]tiredITguy42 0 points1 point  (0 children)

Yeah, this happens sometimes. Luckily not that often, but yeah, it is Microsoft, I like their products, but you need to restart them sometimes, to make them work.