Quite a few websites give you the ability to code your input in a file. This file this then read with input() in python3
I would like to use these small code snippets and run them in pythonanywhere.
Ideally I would like to have just to tick a field and put a text file somewhere which is then read from instead of stdin.
Since I didn't find this tick field what would be the minimal adoptions to input() (possibly something like fileinput)
to get my input from a file?