0
Why do I get an error?
I get an error saying it has to compile in an unusual way. I've narrowed it down to the error being in the exception, but why? https://code.sololearn.com/c5Yi3n72bxH9/?ref=app
5 odpowiedzi
+ 2
You're not going to write to a file in SoloLearn. Try it in Visual Studio and it will probably work.
SoloLearn doesn't compile code in the app. Your code is sent to a server, compiled, then the results are printed in the app.
+ 1
It's looking for a text file. Not sure if that's the problem, but trying to load a file in SoloLearn probably isn't going to work.
0
Bagshot doesn't it create the file if it doesn't already exist? or is that just the .open() function
0
Ace I'm not an home right now, but, according to what you just said, it probably would