0

I don’t get the error

I don’t know what’s wrong with my code but the second part won’t work because there is somehow a error in the second part of the code. https://sololearn.com/compiler-playground/cDLE5qf00jB0/?ref=app

20th Jul 2024, 3:31 PM
Paige Mclachlan
2 odpowiedzi
+ 1
That’s not what question tags are for. They are to denote relevant topics, such as what language you were using, what programming structure you’re having trouble with, etc. Nobody is going to be searching for questions about “my”.
20th Jul 2024, 4:06 PM
Wilbur Jaywright
Wilbur Jaywright - avatar
+ 1
The code runs, but being in the Sololearn sandbox, you have to give it all inputs at the very start of the run. You cannot give it one input, get output, and then give it another as you would in a normal Python environment. This is very unusual and unique to the Sololearn sandbox, and I strongly recommend you use a separate, more normal Python environment for coding if you can at all. Your code is functional. I can suggest a few different Python environments, depending on what device and platform you are using…?
20th Jul 2024, 4:10 PM
Wilbur Jaywright
Wilbur Jaywright - avatar