python code cannot work
there is a problem in the input whenever i write the code even if i copied it from my pc ... but the code works in the IDLE why it doesn't work here
where's the code? it should be CPG(CodePlayGround) limitation like time out, memory limit exceeded, no live input.
post the code! the actual code you wrote, not the error code (though that is helpful)
Is that string meant to be multiline? If so, it seems like you made a mistake with the quotation. Multiline is realized like this: (""" STRING STRING String """)
its a calculator .. "" Add(+) Subtract(-) Multiply(x) Divide(≈) To Exit Select The Operation: Enter first number: Traceback (most recent call last): File "..\Playground\", line 29, in <module> num1 = int(input("\tEnter first number: ")) EOFError: EOF when reading a line"" idk why , the code works in the IDLE
Somehow I was under the impression that it might just show the used number of quotation marks. But that would most likely depend on the ide then.