futurecoder icon indicating copy to clipboard operation
futurecoder copied to clipboard

Multiple line sentences in the shell are not possible

Open martinvilu opened this issue 3 years ago • 2 comments

When trying something like a for loop on the shell, IndentationError is raised before the next line.

martinvilu avatar Jan 06 '22 21:01 martinvilu

@martinvilu This is a current limitation of futurecoder's shell. It does not have all the features of a real local Python shell like you would run on your PC, because it's quite a lot of work to implement them in a browser. @alexmojaki Maybe we can have this in the future? Are there any plans? Not sure if it's needed, since one can always use the editor and the "Run" button. We want to guide the learner towards using the Editor more, to teach code organizing, and typing/editing discipline. At least that's how I see it.

spamegg1 avatar Jan 07 '22 10:01 spamegg1

I don't think it's needed, but I may implement it at some point anyway because it's shiny.

alexmojaki avatar Jan 07 '22 10:01 alexmojaki