The Python error EOFError: EOF when reading a line occurs when you use the `input()` function to prompt for user input but don't enter a value.
I’m trying to create a tokenizer(or lexer) that tokenizes what you input, basically taking what’s in parenthesis or quotations, and running code using that information, but i’m getting a syntax error. Try running the code and inputting something random, an error will appear. Why is th...
Here in SoloLearn's coding playground you must provide your input in separate lines before execution of the program (that can be your issue). Also, I think while loops do not work here because you cannot keep on asking for new input during runtime. Another issue I see here: when the op...
I’m trying to create a tokenizer(or lexer) that tokenizes what you input, basically taking what’s in parenthesis or quotations, and running code using that information, but i’m getting a syntax error. Try running the code and inputting something random, an error will appear. Why is th...
yeah on my computer on solo learns play ground when it asks for input i do + 2 2 is that right ? + 1 ok ty vm im gonna try again i greatly appreciate you taking the time to answer my questions while True: print("Options") print("Enter '+' to add two numbers") print("Enter ...