You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that could work, but it shouldn't be the only option.
For example, print() uses the javascript print() function when it is available. This is typically the case when run from a "js" executable. I think said "js" exe has a read() function as well, so we should make a similar multiplex for input functions.
That would mean that when run from the console, pyjaco code would behave fully like python code, using stdin and stdout. Prompting is probably a good (besides, probably the only) fallback for browsers.
using prompt() perhaps?
Note: Python 3 did away with the distinction.
The text was updated successfully, but these errors were encountered: